10 years agoTagging module BootCD - BootCD-4.2-13
Thierry Parmentelat [Wed, 8 Apr 2009 15:24:37 +0000]
Tagging module BootCD - BootCD-4.2-13
robust to node config file specified with a relative path

10 years agocheck for existence of the node-config file
Thierry Parmentelat [Wed, 8 Apr 2009 15:20:27 +0000]
check for existence of the node-config file
also make the command robust to relative paths, as we change dir over time and thus need abs. paths

10 years agoTagging module BootCD - BootCD-4.2-12
Thierry Parmentelat [Tue, 7 Apr 2009 11:20:47 +0000]
Tagging module BootCD - BootCD-4.2-12
fix specfile - 4.2-11 would not build

10 years agospecfile to reflect new kvariant and old kupdate
Thierry Parmentelat [Tue, 7 Apr 2009 11:18:38 +0000]
specfile to reflect new kvariant and old kupdate

10 years agoTagging module BootCD - BootCD-4.2-11
Thierry Parmentelat [Tue, 7 Apr 2009 09:15:15 +0000]
Tagging module BootCD - BootCD-4.2-11
Added support for handling kernel variants
http://svn.planet-lab.org/wiki/BootcdVariant

10 years agodeprecated, use kvariant.sh instead
Thierry Parmentelat [Fri, 3 Apr 2009 18:33:01 +0000]
deprecated, use kvariant.sh instead

10 years ago- refactored marc's kupdate.sh into a new script kvariant.sh
Thierry Parmentelat [Fri, 3 Apr 2009 16:45:22 +0000]
- refactored marc's kupdate.sh into a new script kvariant.sh
- this allows to create a 'variant' stored in /usr/share/bootcd/<variant>
from the standard /usr/share/bootcd/build tree but with a different kernel
- GetBootMedium has a new option to use a given variant

10 years agoTagging module BootCD - BootCD-4.2-10
Thierry Parmentelat [Tue, 24 Mar 2009 11:51:19 +0000]
Tagging module BootCD - BootCD-4.2-10
mkfs.vfat output removed prior to invokation - fix needed on fedora 10

10 years agolooks like f10's mkfs.vfat (3.0.0) cowardly refuses to overwrite its output
Thierry Parmentelat [Tue, 24 Mar 2009 10:42:50 +0000]
looks like f10's mkfs.vfat (3.0.0) cowardly refuses to  overwrite its output

10 years agoRevert bogus changeset 11548.
Daniel Hokka Zakrisson [Wed, 14 Jan 2009 20:23:55 +0000]
Revert bogus changeset 11548.

10 years agoDon't depend on pyplnet.
Daniel Hokka Zakrisson [Tue, 13 Jan 2009 18:42:56 +0000]
Don't depend on pyplnet.

10 years agoAdded kupdate.sh
Marc Fiuczynski [Tue, 30 Dec 2008 22:55:31 +0000]
Added kupdate.sh

Tagging module BootCD - BootCD-4.2-9

10 years agorevert so I can readd with module-tag
Marc Fiuczynski [Tue, 30 Dec 2008 22:53:39 +0000]
revert so I can readd with module-tag

10 years agoadded kupdate.sh
Marc Fiuczynski [Tue, 30 Dec 2008 22:08:25 +0000]
added kupdate.sh

10 years agoGiven a kernel rpm file, this script updates the bootcd with a new
Marc Fiuczynski [Tue, 30 Dec 2008 22:05:34 +0000]
Given a kernel rpm file, this script updates the bootcd with a new
kernel given a kernel rpm.  This probably should be integrated into
build.sh.

10 years agoTagging module BootCD - BootCD-4.2-8
Daniel Hokka Zakrisson [Sat, 13 Dec 2008 05:01:51 +0000]
Tagging module BootCD - BootCD-4.2-8
Use pyplnet.
Add a site_admin account to the BootCD.
Add some explanations for common errors.

10 years agonew sync target
Thierry Parmentelat [Thu, 11 Dec 2008 18:32:05 +0000]
new sync target

10 years agoit's a spaces based file, not tabs.
Stephen Soltesz [Wed, 10 Dec 2008 20:20:09 +0000]
it's a spaces based file, not tabs.

10 years agoadd hints about how to address common errors. new hints can be added as
Stephen Soltesz [Wed, 10 Dec 2008 20:09:59 +0000]
add hints about how to address common errors.  new hints can be added as
they're observed through support.

10 years agoescape "" chars.
Stephen Soltesz [Tue, 9 Dec 2008 23:51:38 +0000]
escape "" chars.

10 years agogive it a basic password
Stephen Soltesz [Tue, 9 Dec 2008 23:44:39 +0000]
give it a basic password

10 years agoadd a site_admin account to the bootcd. passwd value can be changed at image build...
Stephen Soltesz [Tue, 9 Dec 2008 23:27:20 +0000]
add a site_admin account to the bootcd.  passwd value can be changed at image build time.

10 years agoUse pyplnet to bring up the network.
Daniel Hokka Zakrisson [Sat, 6 Dec 2008 21:23:55 +0000]
Use pyplnet to bring up the network.

10 years agoMake the initscripts executable.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 17:04:44 +0000]
Make the initscripts executable.

10 years agoTagging module BootCD - BootCD-4.2-7
Daniel Hokka Zakrisson [Tue, 2 Dec 2008 19:23:27 +0000]
Tagging module BootCD - BootCD-4.2-7
Allow multiple -k options to the build.sh script.
Probe devices in PCI bus order.

10 years agoallow -k multiple times
Thierry Parmentelat [Tue, 25 Nov 2008 14:47:46 +0000]
allow -k multiple times

10 years agoOrder PCI devices by the slot id.
Daniel Hokka Zakrisson [Fri, 21 Nov 2008 22:32:16 +0000]
Order PCI devices by the slot id.

10 years agoTagging module BootCD - BootCD-4.2-6
Thierry Parmentelat [Fri, 14 Nov 2008 14:54:36 +0000]
Tagging module BootCD - BootCD-4.2-6
add support for fedora9 images - compliant with upstart
formerly monolythic dir 'conf_files/' split into 'etc/' and 'initscripts/'

11 years agotriggers pl_boot under upstart
Thierry Parmentelat [Thu, 2 Oct 2008 08:36:58 +0000]
triggers pl_boot under upstart

11 years agofor when /sbin/init is from upstart rather than from initscripts
Thierry Parmentelat [Thu, 2 Oct 2008 08:14:19 +0000]
for when /sbin/init is from upstart rather than from initscripts

11 years agocosmetic
Thierry Parmentelat [Thu, 2 Oct 2008 08:13:15 +0000]
cosmetic

11 years agocleanup - ctd
Thierry Parmentelat [Thu, 2 Oct 2008 07:01:36 +0000]
cleanup - ctd

11 years agosplitting conf_files into etc/ and initscripts/
Thierry Parmentelat [Thu, 2 Oct 2008 06:51:48 +0000]
splitting conf_files into etc/ and initscripts/

11 years agocleanup ctd
Thierry Parmentelat [Thu, 2 Oct 2008 06:47:52 +0000]
cleanup ctd

11 years agoTagging module BootCD - BootCD-4.2-5
Thierry Parmentelat [Tue, 23 Sep 2008 16:14:43 +0000]
Tagging module BootCD - BootCD-4.2-5
cosmetic - pl_boot to display timestamps

11 years agoadd timestamp in pl_boot messages
Thierry Parmentelat [Tue, 23 Sep 2008 15:46:12 +0000]
add timestamp in pl_boot messages

11 years agouse /var/tmp for both chroot and vserver myplc
Thierry Parmentelat [Fri, 19 Sep 2008 09:10:14 +0000]
use /var/tmp for both chroot and vserver myplc

11 years agoTagging module BootCD - BootCD-4.2-4
Stephen Soltesz [Mon, 4 Aug 2008 19:55:56 +0000]
Tagging module BootCD - BootCD-4.2-4
adds -k as an argument to build.sh to pass additional kernel parameters to the
bootcd and kexec kernel.

11 years agoensure that the added kernel argument is passed to the boot image kernel as
Stephen Soltesz [Mon, 4 Aug 2008 18:07:54 +0000]
ensure that the added kernel argument is passed to the boot image kernel as
well as the kexec kernel.

11 years agoadd an command-line option to add additional parameters to the kargs.txt file
Stephen Soltesz [Mon, 4 Aug 2008 17:52:06 +0000]
add an command-line option to add additional parameters to the kargs.txt file
placed in the boot image.  This should help with turning off pre-enabled
kernel options such as 'hangcheck'.

11 years agoTagging module BootCD - BootCD-4.2-3
Thierry Parmentelat [Mon, 5 May 2008 12:22:24 +0000]
Tagging module BootCD - BootCD-4.2-3
rpm release tag does not need pldistro as it is already part of the rpm name

11 years agocheck consistency of specfiles:
Thierry Parmentelat [Mon, 5 May 2008 12:09:39 +0000]
check consistency of specfiles:
* set pldistro in release when needed (Monitor)
* remove it when already part of the rpm name (bootcd, noderepo)

11 years agoTagging module BootCD - BootCD-4.2-2
Thierry Parmentelat [Thu, 24 Apr 2008 16:53:55 +0000]
Tagging module BootCD - BootCD-4.2-2
change location of nodefamily in /etc/planetlab/

11 years agouse name /etc/planetlab/nodefamily, same as within myplc
Thierry Parmentelat [Wed, 23 Apr 2008 15:36:02 +0000]
use name /etc/planetlab/nodefamily, same as within myplc

11 years agoTagging module BootCD - BootCD-4.2-1
Thierry Parmentelat [Wed, 23 Apr 2008 08:19:01 +0000]
Tagging module BootCD - BootCD-4.2-1
new name for the rpm, to allow simultaneous rpm-installs for several nodefamily (pldistro+arch)
now installs in /usr/share/bootcd-<nodefamily> with a legacy symlink (requires MyPLC-4.2-7)
nodefamily exported under bootcd.img in /etc/nodefamily (for bm) and under build/nodefamily (for build.sh)

11 years agowrite nodefamily in /etc/nodefamily (bootcd.img) and in build/nodefamily, to help...
Thierry Parmentelat [Wed, 23 Apr 2008 06:59:16 +0000]
write nodefamily in /etc/nodefamily (bootcd.img) and in build/nodefamily, to help bootmanager and build.sh do the right thing

11 years agomulti-module change - first step towards multi-bootcd's myplc
Thierry Parmentelat [Tue, 22 Apr 2008 15:49:24 +0000]
multi-module change - first step towards multi-bootcd's myplc
packaging of bootcd has changed, now goes into
/usr/share/bootcd-<nodefamily>
a symlink /usr/share/bootcd should get created
also /var/www/html/download moves to -<nodefamily> with a convenience symlink created

2nd step (remains to do): add option(s) to GetBootMedium to leverage this

11 years agoBranch 4.2 for module BootCD created from tag BootCD-3.4-5
Thierry Parmentelat [Tue, 22 Apr 2008 15:44:29 +0000]
Branch 4.2 for module BootCD created from tag BootCD-3.4-5

11 years agoTagging module BootCD - BootCD-3.4-5
Thierry Parmentelat [Wed, 26 Mar 2008 09:03:31 +0000]
Tagging module BootCD - BootCD-3.4-5
kargs.txt for serial boot fixed: now properly exposed to bootmanager through the overlay image
build.sh cleaned up in the process
actual location of selected node config file displayed
import pypci rather than pypciscan

11 years agocosmetic : displays the node configuration file
Thierry Parmentelat [Fri, 21 Mar 2008 10:17:47 +0000]
cosmetic : displays the node configuration file

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

11 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

11 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

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

11 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.

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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.

11 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

11 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.

11 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

11 years agoCleanup:
Thierry Parmentelat [Tue, 15 Jan 2008 16:06:53 +0000]
Cleanup:
- 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

11 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

11 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.

11 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.

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

11 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

11 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

Notes.
(*) 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

11 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).

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

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

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

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

11 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.

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

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

11 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.

11 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.

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

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

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

11 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.

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

11 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.

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

11 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.

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

11 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

11 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

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

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

11 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?).

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

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