Thierry Parmentelat [Wed, 1 Sep 2010 08:30:29 +0000 (10:30 +0200)]
Setting tag bootcd-5.0-5
remove remainging reference to planet-lab.org
Daniel Hokka Zakrisson [Thu, 22 Jul 2010 14:21:28 +0000 (10:21 -0400)]
Cast a wider net.
Barış Metin [Mon, 5 Jul 2010 12:29:37 +0000 (12:29 +0000)]
Setting tag BootCD-5.0-4
module name changes
Thierry Parmentelat [Fri, 2 Jul 2010 14:46:20 +0000 (14:46 +0000)]
prepare for lowercasing module names
Thierry Parmentelat [Wed, 23 Jun 2010 08:35:34 +0000 (08:35 +0000)]
Setting tag BootCD-5.0-3
nicer initscript now uses 'action' from /etc/init.d/functions
Barış Metin [Mon, 31 May 2010 08:28:14 +0000 (08:28 +0000)]
fix action call (this needs to be applied on top of RC10)
Barış Metin [Tue, 20 Apr 2010 12:57:48 +0000 (12:57 +0000)]
Setting tag BootCD-5.0-2
obsolete old bootcd versions
Barış Metin [Tue, 20 Apr 2010 10:24:26 +0000 (10:24 +0000)]
obsolete old bootcd packages
Thierry Parmentelat [Fri, 29 Jan 2010 14:10:47 +0000 (14:10 +0000)]
Setting tag BootCD-5.0-1
First working version of 5.0:
pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to
nodefamily is 3-fold with pldistro-fcdistro-arch
new module bootcd-inistscripts
Thierry Parmentelat [Thu, 28 Jan 2010 14:10:54 +0000 (14:10 +0000)]
svn:keywords
Thierry Parmentelat [Wed, 27 Jan 2010 18:44:46 +0000 (18:44 +0000)]
fixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodeconfig/yum
now known as the nodeyum package
(might need some moer work for properly handling kexcludes in multi-fc plcs)
cleaned up all uses of /etc/planetlab/{node,slice}family
nodeconfig now does not need the build/ module anymore at build time
Thierry Parmentelat [Tue, 26 Jan 2010 13:57:24 +0000 (13:57 +0000)]
3-fold nodefamily now has fcdistro as well
Thierry Parmentelat [Mon, 25 Jan 2010 20:06:06 +0000 (20:06 +0000)]
use major numbers in conflicts
Thierry Parmentelat [Mon, 25 Jan 2010 14:35:26 +0000 (14:35 +0000)]
Branch 5.0 for module BootCD created (as new trunk) from tag BootCD-4.2-17
Thierry Parmentelat [Mon, 18 Jan 2010 16:07:10 +0000 (16:07 +0000)]
cosmetic
Thierry Parmentelat [Mon, 18 Jan 2010 14:47:44 +0000 (14:47 +0000)]
add conflict clause for smooth upgrade
Thierry Parmentelat [Mon, 18 Jan 2010 14:14:44 +0000 (14:14 +0000)]
moving the plc.d scripts for bootcd where they belong
Thierry Parmentelat [Sat, 9 Jan 2010 07:12:51 +0000 (07:12 +0000)]
Setting tag BootCD-4.2-17
support for fedora 12
Thierry Parmentelat [Wed, 6 Jan 2010 09:30:19 +0000 (09:30 +0000)]
for f12
Thierry Parmentelat [Sun, 27 Dec 2009 17:50:02 +0000 (17:50 +0000)]
Setting tag BootCD-4.2-16
fix build on fedora12
Thierry Parmentelat [Mon, 21 Dec 2009 00:12:31 +0000 (00:12 +0000)]
f12 now has all published RPMS in RPMS/i686, and _arch still is i386
Stephen Soltesz [Fri, 4 Sep 2009 22:59:08 +0000 (22:59 +0000)]
Setting tag BootCD-4.2-15
record the ntp time to the hwclock. this is a bootcd operation, but it is
repeated in the bootmanager to handle all CDs without this operation
Stephen Soltesz [Fri, 17 Jul 2009 22:03:36 +0000 (22:03 +0000)]
save ntpdate time to hardware clock
Marc Fiuczynski [Mon, 29 Jun 2009 18:20:40 +0000 (18:20 +0000)]
Tagging module BootCD - BootCD-4.2-14
Daniel's update to generalize the kvariant support.
Daniel Hokka Zakrisson [Fri, 26 Jun 2009 19:28:19 +0000 (19:28 +0000)]
Work with multiple BootCD setups.
Thierry Parmentelat [Wed, 8 Apr 2009 15:24:37 +0000 (15:24 +0000)]
Tagging module BootCD - BootCD-4.2-13
robust to node config file specified with a relative path
Thierry Parmentelat [Wed, 8 Apr 2009 15:20:27 +0000 (15:20 +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
Thierry Parmentelat [Tue, 7 Apr 2009 11:20:47 +0000 (11:20 +0000)]
Tagging module BootCD - BootCD-4.2-12
fix specfile - 4.2-11 would not build
Thierry Parmentelat [Tue, 7 Apr 2009 11:18:38 +0000 (11:18 +0000)]
specfile to reflect new kvariant and old kupdate
Thierry Parmentelat [Tue, 7 Apr 2009 09:15:15 +0000 (09:15 +0000)]
Tagging module BootCD - BootCD-4.2-11
Added support for handling kernel variants
http://svn.planet-lab.org/wiki/BootcdVariant
Thierry Parmentelat [Fri, 3 Apr 2009 18:33:01 +0000 (18:33 +0000)]
deprecated, use kvariant.sh instead
Thierry Parmentelat [Fri, 3 Apr 2009 16:45:22 +0000 (16:45 +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
Thierry Parmentelat [Tue, 24 Mar 2009 11:51:19 +0000 (11:51 +0000)]
Tagging module BootCD - BootCD-4.2-10
mkfs.vfat output removed prior to invokation - fix needed on fedora 10
Thierry Parmentelat [Tue, 24 Mar 2009 10:42:50 +0000 (10:42 +0000)]
looks like f10's mkfs.vfat (3.0.0) cowardly refuses to overwrite its output
Daniel Hokka Zakrisson [Wed, 14 Jan 2009 20:23:55 +0000 (20:23 +0000)]
Revert bogus changeset 11548.
Daniel Hokka Zakrisson [Tue, 13 Jan 2009 18:42:56 +0000 (18:42 +0000)]
Don't depend on pyplnet.
Marc Fiuczynski [Tue, 30 Dec 2008 22:55:31 +0000 (22:55 +0000)]
Added kupdate.sh
Tagging module BootCD - BootCD-4.2-9
Marc Fiuczynski [Tue, 30 Dec 2008 22:53:39 +0000 (22:53 +0000)]
revert so I can readd with module-tag
Marc Fiuczynski [Tue, 30 Dec 2008 22:08:25 +0000 (22:08 +0000)]
added kupdate.sh
Marc Fiuczynski [Tue, 30 Dec 2008 22:05:34 +0000 (22:05 +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.
Daniel Hokka Zakrisson [Sat, 13 Dec 2008 05:01:51 +0000 (05:01 +0000)]
Tagging module BootCD - BootCD-4.2-8
Use pyplnet.
Add a site_admin account to the BootCD.
Add some explanations for common errors.
Thierry Parmentelat [Thu, 11 Dec 2008 18:32:05 +0000 (18:32 +0000)]
new sync target
Stephen Soltesz [Wed, 10 Dec 2008 20:20:09 +0000 (20:20 +0000)]
it's a spaces based file, not tabs.
Stephen Soltesz [Wed, 10 Dec 2008 20:09:59 +0000 (20:09 +0000)]
add hints about how to address common errors. new hints can be added as
they're observed through support.
Stephen Soltesz [Tue, 9 Dec 2008 23:51:38 +0000 (23:51 +0000)]
escape "" chars.
Stephen Soltesz [Tue, 9 Dec 2008 23:44:39 +0000 (23:44 +0000)]
give it a basic password
Stephen Soltesz [Tue, 9 Dec 2008 23:27:20 +0000 (23:27 +0000)]
add a site_admin account to the bootcd. passwd value can be changed at image build time.
Daniel Hokka Zakrisson [Sat, 6 Dec 2008 21:23:55 +0000 (21:23 +0000)]
Use pyplnet to bring up the network.
Daniel Hokka Zakrisson [Fri, 5 Dec 2008 17:04:44 +0000 (17:04 +0000)]
Make the initscripts executable.
Daniel Hokka Zakrisson [Tue, 2 Dec 2008 19:23:27 +0000 (19:23 +0000)]
Tagging module BootCD - BootCD-4.2-7
Allow multiple -k options to the build.sh script.
Probe devices in PCI bus order.
Thierry Parmentelat [Tue, 25 Nov 2008 14:47:46 +0000 (14:47 +0000)]
allow -k multiple times
Daniel Hokka Zakrisson [Fri, 21 Nov 2008 22:32:16 +0000 (22:32 +0000)]
Order PCI devices by the slot id.
Thierry Parmentelat [Fri, 14 Nov 2008 14:54:36 +0000 (14:54 +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/'
Thierry Parmentelat [Thu, 2 Oct 2008 08:36:58 +0000 (08:36 +0000)]
triggers pl_boot under upstart
Thierry Parmentelat [Thu, 2 Oct 2008 08:14:19 +0000 (08:14 +0000)]
for when /sbin/init is from upstart rather than from initscripts
Thierry Parmentelat [Thu, 2 Oct 2008 08:13:15 +0000 (08:13 +0000)]
cosmetic
Thierry Parmentelat [Thu, 2 Oct 2008 07:01:36 +0000 (07:01 +0000)]
cleanup - ctd
Thierry Parmentelat [Thu, 2 Oct 2008 06:51:48 +0000 (06:51 +0000)]
splitting conf_files into etc/ and initscripts/
Thierry Parmentelat [Thu, 2 Oct 2008 06:47:52 +0000 (06:47 +0000)]
cleanup ctd
Thierry Parmentelat [Tue, 23 Sep 2008 16:14:43 +0000 (16:14 +0000)]
Tagging module BootCD - BootCD-4.2-5
cosmetic - pl_boot to display timestamps
Thierry Parmentelat [Tue, 23 Sep 2008 15:46:12 +0000 (15:46 +0000)]
add timestamp in pl_boot messages
Thierry Parmentelat [Fri, 19 Sep 2008 09:10:14 +0000 (09:10 +0000)]
use /var/tmp for both chroot and vserver myplc
Stephen Soltesz [Mon, 4 Aug 2008 19:55:56 +0000 (19:55 +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.
Stephen Soltesz [Mon, 4 Aug 2008 18:07:54 +0000 (18:07 +0000)]
ensure that the added kernel argument is passed to the boot image kernel as
well as the kexec kernel.
Stephen Soltesz [Mon, 4 Aug 2008 17:52:06 +0000 (17:52 +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'.
Thierry Parmentelat [Mon, 5 May 2008 12:22:24 +0000 (12:22 +0000)]
Tagging module BootCD - BootCD-4.2-3
rpm release tag does not need pldistro as it is already part of the rpm name
Thierry Parmentelat [Mon, 5 May 2008 12:09:39 +0000 (12:09 +0000)]
check consistency of specfiles:
* set pldistro in release when needed (Monitor)
* remove it when already part of the rpm name (bootcd, noderepo)
Thierry Parmentelat [Thu, 24 Apr 2008 16:53:55 +0000 (16:53 +0000)]
Tagging module BootCD - BootCD-4.2-2
change location of nodefamily in /etc/planetlab/
Thierry Parmentelat [Wed, 23 Apr 2008 15:36:02 +0000 (15:36 +0000)]
use name /etc/planetlab/nodefamily, same as within myplc
Thierry Parmentelat [Wed, 23 Apr 2008 08:19:01 +0000 (08:19 +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)
Thierry Parmentelat [Wed, 23 Apr 2008 06:59:16 +0000 (06:59 +0000)]
write nodefamily in /etc/nodefamily (bootcd.img) and in build/nodefamily, to help bootmanager and build.sh do the right thing
Thierry Parmentelat [Tue, 22 Apr 2008 15:49:24 +0000 (15:49 +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
Thierry Parmentelat [Tue, 22 Apr 2008 15:44:29 +0000 (15:44 +0000)]
Branch 4.2 for module BootCD created from tag BootCD-3.4-5
Thierry Parmentelat [Wed, 26 Mar 2008 09:03:31 +0000 (09:03 +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
Thierry Parmentelat [Fri, 21 Mar 2008 10:17:47 +0000 (10:17 +0000)]
cosmetic : displays the node configuration file
Faiyaz Ahmed [Mon, 17 Mar 2008 20:18:10 +0000 (20:18 +0000)]
Module changed names.
Thierry Parmentelat [Mon, 17 Mar 2008 16:03:43 +0000 (16:03 +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
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000 (11:45 +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
Thierry Parmentelat [Thu, 28 Feb 2008 10:12:08 +0000 (10:12 +0000)]
remove empty dir
Faiyaz Ahmed [Thu, 21 Feb 2008 20:36:31 +0000 (20:36 +0000)]
missed closing bracket when substituting kargs for serial.
Marc Fiuczynski [Tue, 19 Feb 2008 20:31:36 +0000 (20:31 +0000)]
-support so that kexec is invoked with the corrects args for serial console output
Thierry Parmentelat [Thu, 14 Feb 2008 14:50:53 +0000 (14:50 +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
Thierry Parmentelat [Wed, 13 Feb 2008 13:55:00 +0000 (13:55 +0000)]
previous change was too deep a cleaning - as might have been suspected
this restores the required stuff in /usr/bootme
Thierry Parmentelat [Wed, 13 Feb 2008 10:56:59 +0000 (10:56 +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
Thierry Parmentelat [Wed, 13 Feb 2008 10:38:33 +0000 (10:38 +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
Thierry Parmentelat [Tue, 12 Feb 2008 20:32:00 +0000 (20:32 +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
Marc Fiuczynski [Thu, 7 Feb 2008 16:35:30 +0000 (16:35 +0000)]
- fixed bug where all bootcd were built assuming a serial line console.
- cleaned up console definition
Marc Fiuczynski [Fri, 1 Feb 2008 21:41:11 +0000 (21:41 +0000)]
Minor clean up to modprobe() function.
Marc Fiuczynski [Fri, 1 Feb 2008 20:49:27 +0000 (20:49 +0000)]
Added support to specify serial line options from the command line.
Thierry Parmentelat [Thu, 31 Jan 2008 14:01:17 +0000 (14:01 +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
Faiyaz Ahmed [Wed, 30 Jan 2008 20:46:03 +0000 (20:46 +0000)]
possible fix for rmmod floppy hanging before kexec on nodes without drives.
Thierry Parmentelat [Wed, 16 Jan 2008 10:03:57 +0000 (10:03 +0000)]
Passing a custom-dir without setting serial was not working
Fixed/protected arg passing among functions
+ formatting, marginally
Thierry Parmentelat [Tue, 15 Jan 2008 16:06:53 +0000 (16:06 +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
Thierry Parmentelat [Tue, 15 Jan 2008 16:00:41 +0000 (16:00 +0000)]
removed extra quotes - fixes the iso/cramfs build
Faiyaz Ahmed [Fri, 11 Jan 2008 18:54:54 +0000 (18:54 +0000)]
ifs and fis without indents make me dizzy.
Stephen Soltesz [Fri, 11 Jan 2008 00:00:56 +0000 (00:00 +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.
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000 (12:31 +0000)]
cleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000 (08:55 +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
Daniel Hokka Zakrisson [Wed, 5 Dec 2007 20:28:44 +0000 (20:28 +0000)]
Handle wireless (by letting ifup do its thang).