bootcd.git
16 years agoinitial tag bootcd-3.4-2
Thierry Parmentelat [Tue, 8 Jan 2008 20:06:32 +0000 (20:06 +0000)]
initial tag

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

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

16 years ago(*) groups distro-dependent files in build/config.<distro>
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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 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 (00:44 +0000)]
If ata_generic is loaded, we want it to grab all matching devices.

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

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

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

16 years agoUse mtools to build USB images, no more loop-mounts here, woohoo!
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 03:39:25 +0000 (03:39 +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.

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

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

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

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

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

16 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 (03:10 +0000)]
Check for supported network devices, and warn if none are present (make it an error?).

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

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

16 years agothis mostly undoes changeset http://svn.planet-lab.org/changeset/6958
Thierry Parmentelat [Tue, 20 Nov 2007 10:03:30 +0000 (10:03 +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

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

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

16 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 (14:39 +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

16 years agoNeed to squash the error exit status of mktemp when testing whether
Marc Fiuczynski [Thu, 25 Oct 2007 04:01:57 +0000 (04:01 +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.

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

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

16 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 (15:21 +0000)]
Due to package name change, need to invoke the merge_hw_tables.py file
from BootManager and not bootmanger.

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

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

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

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

16 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 (17:56 +0000)]
+ modified the version number to 3.4, since it's now using a 2.6.20 kernel.

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

16 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 (21:31 +0000)]
+ added bootcustom.sh as a file to include with the package.  I think I did it
right, but not 100% sure.

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

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

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

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

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

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

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

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

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

17 years ago* Added support to build images with the serial line as the console
Marc Fiuczynski [Wed, 23 Aug 2006 12:50:32 +0000 (12:50 +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
  flag

* 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
  installations.

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

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

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

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

17 years ago- fix NET_DEVICE parsing implementation to match the comment,
Mark Huang [Mon, 21 Aug 2006 20:23:00 +0000 (20:23 +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.

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

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

17 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 (17:15 +0000)]
- use tar instead of cpio so that directories don't get created with
  0700 perms

17 years ago- also cleanup after Ctrl-C
Mark Huang [Tue, 25 Jul 2006 23:51:39 +0000 (23:51 +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!

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

17 years ago- remove /boot (kernel stored on boot media)
Mark Huang [Thu, 20 Jul 2006 19:59:51 +0000 (19:59 +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)

17 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 (17:51 +0000)]
- install the cert of the CA that signed the boot server cert on the
  bootcd
- if /etc/planetlab/plc_config is not a valid myplc configuration (maybe
  a myplc-devel configuration), try static configuration

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

17 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 (21:34 +0000)]
- revert to 1.36 (install boot server cert, which may optionally be a
  third-party CA cert)

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

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

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

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

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

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

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

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

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

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

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

17 years ago- start udevd if appropriate (FC4)
Mark Huang [Mon, 15 May 2006 21:11:00 +0000 (21:11 +0000)]
- start udevd if appropriate (FC4)

17 years ago- build using fc4, need -k to avoid installing vanilla fc4 kernel
Mark Huang [Mon, 15 May 2006 19:19:55 +0000 (19:19 +0000)]
- build using fc4, need -k to avoid installing vanilla fc4 kernel

17 years ago- build with fc4 filesystem
Mark Huang [Mon, 15 May 2006 19:19:33 +0000 (19:19 +0000)]
- build with fc4 filesystem
- rename bootcd_v3 to bootcd

17 years agoremove generated files
Mark Huang [Mon, 15 May 2006 19:15:56 +0000 (19:15 +0000)]
remove generated files

18 years agoisolinux, plnode.txt and boot.cat move one dir up to the CD image root
Thierry Parmentelat [Wed, 3 May 2006 07:42:31 +0000 (07:42 +0000)]
isolinux, plnode.txt and boot.cat move one dir up to the CD image root

18 years ago- dirname no longer in /bin
Mark Huang [Wed, 12 Apr 2006 20:42:59 +0000 (20:42 +0000)]
- dirname no longer in /bin

18 years ago*** empty log message ***
Mark Huang [Fri, 7 Apr 2006 03:59:10 +0000 (03:59 +0000)]
*** empty log message ***

18 years ago- fix /etc/issue generation
Mark Huang [Fri, 7 Apr 2006 03:58:07 +0000 (03:58 +0000)]
- fix /etc/issue generation

18 years ago- provide a better /etc/issue message
Mark Huang [Fri, 7 Apr 2006 03:50:08 +0000 (03:50 +0000)]
- provide a better /etc/issue message

18 years ago- define default PATH
Mark Huang [Mon, 3 Apr 2006 20:07:45 +0000 (20:07 +0000)]
- define default PATH

18 years ago- move the default PLC BootCD image into a subpackage
Mark Huang [Mon, 3 Apr 2006 19:36:49 +0000 (19:36 +0000)]
- move the default PLC BootCD image into a subpackage
- the bootcd package now just contains the reference image and the
  customization script

18 years ago- move most of the old build.sh script here. This script builds the bulk
Mark Huang [Mon, 3 Apr 2006 19:35:39 +0000 (19:35 +0000)]
- move most of the old build.sh script here. This script builds the bulk
  of the bootcd ahead of time; build.sh now just customizes it based on
  MyPLC variables or static configurations specified with -c
- make this script use mkfedora

18 years ago- make this script a quick reconfigure script by splitting the cd into 2
Mark Huang [Mon, 3 Apr 2006 19:33:56 +0000 (19:33 +0000)]
- make this script a quick reconfigure script by splitting the cd into 2
  initramfs images, one that is built by prep.sh ahead of time, and one
  that is (quickly) built by this script
- this requires syslinux-3.08, now checked in as source

18 years agoThis commit was generated by cvs2svn to compensate for changes in r1815,
Mark Huang [Mon, 3 Apr 2006 19:33:23 +0000 (19:33 +0000)]
This commit was generated by cvs2svn to compensate for changes in r1815,
which included commits to RCS files with non-trunk default branches.

18 years ago- set hostname when configuring statically
Mark Huang [Mon, 3 Apr 2006 19:28:21 +0000 (19:28 +0000)]
- set hostname when configuring statically

18 years ago- just support biginitrd from now on; find can stay in /usr/bin
Mark Huang [Mon, 3 Apr 2006 19:28:11 +0000 (19:28 +0000)]
- just support biginitrd from now on; find can stay in /usr/bin

18 years ago- run createrepo as well
Mark Huang [Tue, 21 Mar 2006 14:57:29 +0000 (14:57 +0000)]
- run createrepo as well
- if run under sudo, allow user to delete the headers/ and repodata/
  directories

18 years ago- run yum-arch on Bootstrap RPMS directory before using
Mark Huang [Fri, 10 Mar 2006 18:20:34 +0000 (18:20 +0000)]
- run yum-arch on Bootstrap RPMS directory before using

18 years agoCorrection from previous commit.
Marc Fiuczynski [Wed, 1 Feb 2006 19:29:33 +0000 (19:29 +0000)]
Correction from previous commit.

Check if /usr is in the ramdisk by comparing /usr/isolinux/pl_version
with /pl_version. If it is, then there is no need to try and mount it
from some device.

18 years agoCheck for plnode.txt in / on the ram disk first before checking everything else.
Marc Fiuczynski [Wed, 1 Feb 2006 19:27:15 +0000 (19:27 +0000)]
Check for plnode.txt in / on the ram disk first before checking everything else.