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

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

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

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.

12 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

12 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

12 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

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

12 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
plnode.txt.