12 years agoModule changed names.
Faiyaz Ahmed [Mon, 17 Mar 2008 20:18:10 +0000]
Module changed names.

12 years ago* reviewed to have kargs.txt stored in overlay.img
Thierry Parmentelat [Mon, 17 Mar 2008 16:03:43 +0000]
* reviewed to have kargs.txt stored in overlay.img
* 'serial' in type is NOT SUPPORTED anymore
  this is because of kargs.txt, and we prepare the overlay only once
* miscell cleanup to have clear steps implemented as functions

12 years agoSecond step towards multiarch myplc https://svn.planet-lab.org/ticket/214
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000]
Second step towards multiarch myplc https://svn.planet-lab.org/ticket/214
-- design
* new notion of a 'nodefamily' - that for now is <pldistro>-<arch>
* standard rpm repository is now named /var/www/html/install-rpms/<nodefamily>
  a legacy symlink install-rpms/planetlab is created my myplc packaging
* bootstrafs rpm name is now bootstrapfs-<nodefamily> so that several instances
 from various builds can be installed in the same myplc
* noderepo rpm (named noderepo-<nodefamily>) built as part of the planetlab distro
  this is for installing /var/www/html/intall-rpms/<nodefamily> from another build

-- other changes
* extensive cleanup of mkfedora:
** obsolete  options -p -g -x removed
** option -p removed, pkgsfile is a mandatory argument
** option -k removed, use kexclude: in the pkgs file instead
* also cleaned up pl_root_* functions - no wrapper to pl_root_mkfedora anymore

-- status
* not tested at all - likely to break
* next step planned for storing nodefamily and pass it to yum.php.conf
  (impacted would be bootmanager, nodemanager and nodeconfig)
* a final cleanup in mkfedora would be to define mirrors in a separate .pkgs-like file
* kupdate.sh, as well as possibly other convenience scripts, might be impacted

12 years agoremove empty dir
Thierry Parmentelat [Thu, 28 Feb 2008 10:12:08 +0000]
remove empty dir

12 years agomissed closing bracket when substituting kargs for serial.
Faiyaz Ahmed [Thu, 21 Feb 2008 20:36:31 +0000]
missed closing bracket when substituting kargs for serial.

12 years ago-support so that kexec is invoked with the corrects args for serial console output
Marc Fiuczynski [Tue, 19 Feb 2008 20:31:36 +0000]
-support so that kexec is invoked with the corrects args for serial console output

12 years agoTagging module BootCD - bootcd-3.4-4
Thierry Parmentelat [Thu, 14 Feb 2008 14:50:53 +0000]
Tagging module BootCD - bootcd-3.4-4
build.sh support for -s <console_spec> (recommended vs using type)
build.sh cleanup - usage clearer wrt types - removed old code
fixed modprobe with args in pl_hwinit

12 years agoprevious change was too deep a cleaning - as might have been suspected
Thierry Parmentelat [Wed, 13 Feb 2008 13:55:00 +0000]
previous change was too deep a cleaning - as might have been suspected
this restores the required stuff in /usr/bootme

12 years agoremoved all legacy code wrt alternative configurations (-c option),
Thierry Parmentelat [Wed, 13 Feb 2008 10:56:59 +0000]
removed all legacy code wrt alternative configurations (-c option),
  as build.sh is *never* invoked at build-time as it used to be
also, I was feeling is the mood, so I also removed the part
  about /usr/bootme in the overlay image, as it was marked deprecated

12 years ago* build.sh completely cleaned wrt serial & -s
Thierry Parmentelat [Wed, 13 Feb 2008 10:38:33 +0000]
* build.sh completely cleaned wrt serial & -s
- can specify either -s <> or serial anywhere in the type
- supports -s default
- output filenames fixed, does not mention the console characteristics when default is used, duplicate serial fixed
* build.sh supports a new -o option, so the caller can specify the output
* GetBootMedium uses this new -o option
* GetBootMedium now has 3 known options serial[:console] cramfs partition
* GetBootMedium cowardly refuses options when deailng with floppy or generic images

haven't looked into planetlab's www module - so long as the web only supports iso/usb this should run fine

12 years ago- reviewed usage, for more relevance (lists all actually supported types)
Thierry Parmentelat [Tue, 12 Feb 2008 20:32:00 +0000]
- reviewed usage, for more relevance (lists all actually supported types)
- minor bug fixes

this command needs a -o option that would not add the suffix stuff that -O does
so GetBootMedium could use it to its full power

12 years ago- fixed bug where all bootcd were built assuming a serial line console.
Marc Fiuczynski [Thu, 7 Feb 2008 16:35:30 +0000]
- fixed bug where all bootcd were built assuming a serial line console.

- cleaned up console definition

12 years agoMinor clean up to modprobe() function.
Marc Fiuczynski [Fri, 1 Feb 2008 21:41:11 +0000]
Minor clean up to modprobe() function.

12 years agoAdded support to specify serial line options from the command line.
Marc Fiuczynski [Fri, 1 Feb 2008 20:49:27 +0000]
Added support to specify serial line options from the command line.

12 years agoTagging module BootCD -- from bootcd-3.4-2 to bootcd-3.4-3
Thierry Parmentelat [Thu, 31 Jan 2008 14:01:17 +0000]
Tagging module BootCD  -- from bootcd-3.4-2 to bootcd-3.4-3
load floppy with modprobe flags
support for creating a usb partition
removed obsolete files newbuild.sh, bootcustom.sh and cdcustom.sh

12 years agopossible fix for rmmod floppy hanging before kexec on nodes without drives.
Faiyaz Ahmed [Wed, 30 Jan 2008 20:46:03 +0000]
possible fix for rmmod floppy hanging before kexec on nodes without drives.

12 years agoPassing a custom-dir without setting serial was not working
Thierry Parmentelat [Wed, 16 Jan 2008 10:03:57 +0000]
Passing a custom-dir without setting serial was not working
  Fixed/protected arg passing among functions
+ formatting, marginally

12 years agoCleanup:
Thierry Parmentelat [Tue, 15 Jan 2008 16:06:53 +0000]
- cdcustom.sh was the ancestor of bootcustom.sh
- bootcustom.sh itself is not used anymore in myplc
- newbuild.sh looks like a rather old version of build.sh - despite the name

12 years agoremoved extra quotes - fixes the iso/cramfs build
Thierry Parmentelat [Tue, 15 Jan 2008 16:00:41 +0000]
removed extra quotes - fixes the iso/cramfs build

12 years agoifs and fis without indents make me dizzy.
Faiyaz Ahmed [Fri, 11 Jan 2008 18:54:54 +0000]
ifs and fis without indents make me dizzy.

12 years agoAdd a build_usb_partition function to create a partitioned usb image that will
Stephen Soltesz [Fri, 11 Jan 2008 00:00:56 +0000]
Add a build_usb_partition function to create a partitioned usb image that will
allow (at least) the dc7800 PCs to boot from a USB image.  Uses the mtools
configuration file to reach inside of an image file.

12 years agoready for tagging
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000]
ready for tagging
reviewed URLs and %{plrelease}

12 years agocleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000]
cleaning up the root creation functions and build.common - untested

12 years ago(*) groups distro-dependent files in build/config.<distro>
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000]
(*) groups distro-dependent files in build/config.<distro>
(*) renamed .lst files into .pkgs (lst suffix commonly used for other/tmp purposes)
(*) distro-dependent files are (mostly) optional, defaults to planetlab
(*) mkfedora accepts new -f argument : to pass a pkgs file rather than -p .. -g ..
(*) mkfedora supports junk: and precious: in pkgs file
    this is from the former bootcd/prep.sh - to reduce footprint

(*) this is untested
(*) mkfedora still supports -x (exclude) on the command line and in pkgs file
    however I suspect this feature is never used
(*) mkfedora is still a separate command - could/should be merged into buld.common
(*) myplc/build.functions could/should be merged into build.common as well

12 years agoHandle wireless (by letting ifup do its thang).
Daniel Hokka Zakrisson [Wed, 5 Dec 2007 20:28:44 +0000]
Handle wireless (by letting ifup do its thang).

12 years agoloadedmodules is global.
Daniel Hokka Zakrisson [Mon, 3 Dec 2007 16:34:00 +0000]
loadedmodules is global.

12 years agoAdd OpenVPN.
Daniel Hokka Zakrisson [Fri, 30 Nov 2007 18:07:54 +0000]
Add OpenVPN.

12 years agowho wants to use rsh ?
Thierry Parmentelat [Thu, 29 Nov 2007 16:22:36 +0000]
who wants to use rsh ?

12 years agoRemove unused directory.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 06:36:47 +0000]
Remove unused directory.

12 years agoRemove planetlab package. Generic images are built by MyPLC/plc.d/bootcd.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 06:34:39 +0000]
Remove planetlab package. Generic images are built by MyPLC/plc.d/bootcd.
Remove any remaining references to local syslinux.

12 years agocopy isolinux.bin from install syslinux
Marc Fiuczynski [Thu, 29 Nov 2007 05:58:30 +0000]
copy isolinux.bin from install syslinux

12 years agosyslinux has been removed
Marc Fiuczynski [Thu, 29 Nov 2007 05:48:49 +0000]
syslinux has been removed

12 years agosyslinux is no longer included. Use the system version, which uses mtools.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 00:35:14 +0000]
syslinux is no longer included. Use the system version, which uses mtools.

12 years agoDrop syslinux, require distro's version instead.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 00:24:09 +0000]
Drop syslinux, require distro's version instead.

12 years agoisolinux.bin needs to be writable.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 23:17:51 +0000]
isolinux.bin needs to be writable.

12 years agoReadd /tmp/loadedmodules.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 18:47:38 +0000]
Readd /tmp/loadedmodules.

12 years agoobsolete package
Thierry Parmentelat [Wed, 28 Nov 2007 06:28:39 +0000]
obsolete package

12 years agoIf ata_generic is loaded, we want it to grab all matching devices.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 00:44:40 +0000]
If ata_generic is loaded, we want it to grab all matching devices.

12 years agoNon-root users cannot chown.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 00:44:23 +0000]
Non-root users cannot chown.

12 years agoReadd the -a option to build all supported images.
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 05:53:42 +0000]
Readd the -a option to build all supported images.

12 years agoUse /data/tmp if it exists.
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 05:49:47 +0000]
Use /data/tmp if it exists.

12 years agoUse mtools to build USB images, no more loop-mounts here, woohoo!
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 03:39:25 +0000]
Use mtools to build USB images, no more loop-mounts here, woohoo!
Add an option to specify which image(s) to build.
Some cleanup.

12 years agoincludes pypcilib
Thierry Parmentelat [Wed, 21 Nov 2007 14:08:41 +0000]
includes pypcilib

12 years agoI suspect this is a recent change that I missed in the renaming
Thierry Parmentelat [Wed, 21 Nov 2007 10:12:18 +0000]
I suspect this is a recent change that I missed in the renaming

12 years agoreplacing pldistro-fcdistro-*.lst with a pldistro-*.lst with variants embedded
Thierry Parmentelat [Wed, 21 Nov 2007 09:50:45 +0000]
replacing pldistro-fcdistro-*.lst with a pldistro-*.lst with variants embedded

12 years agoProgif added to class.
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 03:47:50 +0000]
Progif added to class.

12 years agopl_pcitable isn't used anymore.
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 03:20:12 +0000]
pl_pcitable isn't used anymore.

12 years agoCheck for supported network devices, and warn if none are present (make it an error?).
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 03:10:19 +0000]
Check for supported network devices, and warn if none are present (make it an error?).

12 years agoRewrite pl_hwinit in Python.
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 02:32:06 +0000]
Rewrite pl_hwinit in Python.

12 years agoMerge disconnected ops branch.
Daniel Hokka Zakrisson [Tue, 20 Nov 2007 16:39:50 +0000]
Merge disconnected ops branch.

12 years agothis mostly undoes changeset http://svn.planet-lab.org/changeset/6958
Thierry Parmentelat [Tue, 20 Nov 2007 10:03:30 +0000]
this mostly undoes changeset svn.planet-lab.org/changeset/6958
that would not work on fc4 anymore

in any case this .dist file is a dummy placeholder that reads
# empty file, can be removed, if it is not included by /etc/modprobe.conf

12 years agocreated from fc6
Thierry Parmentelat [Tue, 20 Nov 2007 08:50:04 +0000]
created from fc6

12 years agofigures where modprobe.conf.dist gets installed
Thierry Parmentelat [Mon, 19 Nov 2007 16:55:14 +0000]
figures where modprobe.conf.dist gets installed

12 years agotakes package list out of prep.sh in a .lst -- provides -k to mkfedora as it used...
Thierry Parmentelat [Mon, 19 Nov 2007 14:39:37 +0000]
takes package list out of prep.sh in a .lst -- provides -k to mkfedora as it used to be - pldistro passed from spec file to prep.sh

12 years agoNeed to squash the error exit status of mktemp when testing whether
Marc Fiuczynski [Thu, 25 Oct 2007 04:01:57 +0000]
Need to squash the error exit status of mktemp when testing whether
/data is a readonly filesystem.  Instead need to check if the result
of mktemp is an empty string or not.

12 years agoUse /data if it exists and is writeable, otherwise use /usr/tmp to
Marc Fiuczynski [Wed, 24 Oct 2007 21:25:16 +0000]
Use /data if it exists and is writeable, otherwise use /usr/tmp to
build images.

12 years agoAdd in filesystem package explicitly.
Marc Fiuczynski [Mon, 15 Oct 2007 16:26:43 +0000]
Add in filesystem package explicitly.

12 years agoDue to package name change, need to invoke the merge_hw_tables.py file
Marc Fiuczynski [Mon, 15 Oct 2007 15:21:27 +0000]
Due to package name change, need to invoke the merge_hw_tables.py file
from BootManager and not bootmanger.

12 years agopushd to BootCD rather than bootcd.
Marc Fiuczynski [Mon, 15 Oct 2007 15:12:02 +0000]
pushd to BootCD rather than bootcd.

12 years agouse build/build.common functions
Marc Fiuczynski [Fri, 31 Aug 2007 02:29:35 +0000]
use build/build.common functions

12 years agofix to selecting Fedora release number
Marc Fiuczynski [Tue, 28 Aug 2007 21:52:38 +0000]
fix to selecting Fedora release number

12 years agoMake Fedora 7 compatible
Marc Fiuczynski [Fri, 24 Aug 2007 06:48:06 +0000]
Make Fedora 7 compatible

12 years ago+ modified the version number to 3.4, since it's now using a 2.6.20 kernel.
Stephen Soltesz [Thu, 23 Aug 2007 17:56:27 +0000]
+ modified the version number to 3.4, since it's now using a 2.6.20 kernel.

12 years agospecify architecture to build bootcd for
Marc Fiuczynski [Thu, 16 Aug 2007 21:39:33 +0000]
specify architecture to build bootcd for

12 years ago+ added bootcustom.sh as a file to include with the package. I think I did it
Stephen Soltesz [Thu, 9 Aug 2007 21:31:03 +0000]
+ added bootcustom.sh as a file to include with the package.  I think I did it
right, but not 100% sure.

12 years ago+ added bootcustom.sh into bootcd. this will provide support to new
Stephen Soltesz [Wed, 8 Aug 2007 20:22:11 +0000]
+ added bootcustom.sh into bootcd.  this will provide support to new
actions.php file for building custom ISOs on-the-fly.

13 years agoinvoke prep with fedora core release argument
Marc Fiuczynski [Thu, 8 Mar 2007 17:51:56 +0000]
invoke prep with fedora core release argument

13 years agodo not dereference symlinks when chowning files back to the SUDO_USER
Mark Huang [Wed, 17 Jan 2007 22:44:17 +0000]
do not dereference symlinks when chowning files back to the SUDO_USER

13 years ago- select newascii cpio format explicitly, debian cpio uses oldascii by default
Mark Huang [Mon, 4 Dec 2006 20:27:43 +0000]
- select newascii cpio format explicitly, debian cpio uses oldascii by default

13 years agosupport RC1 configs
Mark Huang [Mon, 4 Dec 2006 20:07:18 +0000]
support RC1 configs

13 years agoexperimental build script for new build system
Mark Huang [Sat, 2 Dec 2006 04:55:53 +0000]
experimental build script for new build system

13 years agoFixed up usb image that uses cramfs and 9600baud serial line console.
Marc Fiuczynski [Wed, 22 Nov 2006 20:40:48 +0000]
Fixed up usb image that uses cramfs and 9600baud serial line console.
Also added ttyS0 to securetty.

13 years agoAlso check readonly hd* devices (e.g., compact flash) as a source for
Marc Fiuczynski [Wed, 22 Nov 2006 19:16:36 +0000]
Also check readonly hd* devices (e.g., compact flash) as a source for

13 years agofix - small glitch when building several images
Thierry Parmentelat [Thu, 24 Aug 2006 14:41:46 +0000]
fix - small glitch when building several images

13 years ago* Added support to build images with the serial line as the console
Marc Fiuczynski [Wed, 23 Aug 2006 12:50:32 +0000]
* Added support to build images with the serial line as the console

* Added support to build cramfs based images, which lets one install
  on memory constrained systems.  These are only built when the -a

* Intermediate images are now built in /data (if available), rather
  than in /tmp.  The reason being that /tmp within a chroot'ed myplc
  environment does not have sufficient space.  Falls back to using
  /tmp if /data is not available

* Made build.sh be backwards compatible with an RC1 based MyPLC

13 years ago- also install vconfig, the VLAN configuration utility
Mark Huang [Mon, 21 Aug 2006 20:45:23 +0000]
- also install vconfig, the VLAN configuration utility

13 years agoInstall supermicro ipnmac utility
Mark Huang [Mon, 21 Aug 2006 20:24:09 +0000]
Install supermicro ipnmac utility

13 years agoLinux ipnmac utility from SuperMicro
Mark Huang [Mon, 21 Aug 2006 20:23:53 +0000]
Linux ipnmac utility from SuperMicro

13 years ago- allow IPMI_ADDRESS and IPMI_MAC to be specified
Mark Huang [Mon, 21 Aug 2006 20:23:16 +0000]
- allow IPMI_ADDRESS and IPMI_MAC to be specified

13 years ago- fix NET_DEVICE parsing implementation to match the comment,
Mark Huang [Mon, 21 Aug 2006 20:23:00 +0000]
- fix NET_DEVICE parsing implementation to match the comment,
  i.e. accept device name as well. Also cast NET_DEVICE to lowercase so
  that MAC addresses can be compared properly.

13 years ago- initialize IPMI interface (currently only SuperMicro boards are
Mark Huang [Mon, 21 Aug 2006 20:21:32 +0000]
- initialize IPMI interface (currently only SuperMicro boards are

13 years agodev replaced with udev for mkfedora package checking
Thierry Parmentelat [Fri, 11 Aug 2006 12:53:51 +0000]
dev replaced with udev for mkfedora package checking

13 years ago- use tar instead of cpio so that directories don't get created with
Mark Huang [Fri, 28 Jul 2006 17:15:58 +0000]
- use tar instead of cpio so that directories don't get created with
  0700 perms

13 years ago- also cleanup after Ctrl-C
Mark Huang [Tue, 25 Jul 2006 23:51:39 +0000]
- also cleanup after Ctrl-C
- round up ramdisk_size to nearest kilobyte to avoid kernel memory
  contamination if the size of the cpio archives is not a perfect
  multiple of 1024!

13 years ago- get rid of /boot after copying kernel out
Mark Huang [Mon, 24 Jul 2006 15:33:07 +0000]
- get rid of /boot after copying kernel out

13 years ago- remove /boot (kernel stored on boot media)
Mark Huang [Thu, 20 Jul 2006 19:59:51 +0000]
- remove /boot (kernel stored on boot media)
- remove /usr/lib/gconv (only used by iconv)
- remove /usr/lib/tls (don't need tls support in the bootcd)

13 years ago- install the cert of the CA that signed the boot server cert on the
Mark Huang [Thu, 13 Jul 2006 17:51:49 +0000]
- install the cert of the CA that signed the boot server cert on the
- if /etc/planetlab/plc_config is not a valid myplc configuration (maybe
  a myplc-devel configuration), try static configuration

14 years agodo not compile com32 tools
Mark Huang [Sat, 1 Jul 2006 03:13:23 +0000]
do not compile com32 tools

14 years ago- revert to 1.36 (install boot server cert, which may optionally be a
Mark Huang [Wed, 28 Jun 2006 21:34:51 +0000]
- revert to 1.36 (install boot server cert, which may optionally be a
  third-party CA cert)

14 years agoadded a comment on the load order among the images
Thierry Parmentelat [Wed, 28 Jun 2006 15:01:01 +0000]
added a comment on the load order among the images

14 years agoreworked, now uses a third image for holding local customizations - able to generate...
Thierry Parmentelat [Wed, 28 Jun 2006 14:18:11 +0000]
reworked, now uses a third image for holding local customizations - able to generate a custom node-independent image too

14 years ago- install root CA SSL certificate instead of boot server certificate
Mark Huang [Fri, 23 Jun 2006 20:28:31 +0000]
- install root CA SSL certificate instead of boot server certificate

14 years ago- remove pycurl from bootcd
Mark Huang [Tue, 30 May 2006 19:09:14 +0000]
- remove pycurl from bootcd

14 years agosupports partial bootcd in bootcd-custom, merges with CD if found
Thierry Parmentelat [Tue, 23 May 2006 13:07:09 +0000]
supports partial bootcd in bootcd-custom, merges with CD if found

14 years agoreworked for new CD layout
Thierry Parmentelat [Tue, 23 May 2006 08:58:03 +0000]
reworked for new CD layout

14 years ago- fix removal of junk; let bash expand the wildcards
Mark Huang [Thu, 18 May 2006 22:30:22 +0000]
- fix removal of junk; let bash expand the wildcards
- remove precious tarball when done

14 years ago- label step
Mark Huang [Thu, 18 May 2006 22:18:07 +0000]
- label step

14 years ago- get rid of a lot of unnecessary junk
Mark Huang [Thu, 18 May 2006 21:52:51 +0000]
- get rid of a lot of unnecessary junk

14 years ago- remove duplicate openssh-clients specification
Mark Huang [Tue, 16 May 2006 18:31:32 +0000]
- remove duplicate openssh-clients specification
- vanilla yum no longer requires pycurl, but bootmanager implicitly
  does; add an explicit dependency

14 years ago- build FC4 based Boot CD by default
Mark Huang [Mon, 15 May 2006 21:13:58 +0000]
- build FC4 based Boot CD by default