bootcd.git
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

18 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

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

18 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

18 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

18 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

18 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)

18 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

18 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

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

18 years agoBump version number.
Marc Fiuczynski [Wed, 1 Feb 2006 19:25:52 +0000 (19:25 +0000)]
Bump version number.

Refactored old build_initrd() into init_initrd() and a new build_initd().
The new build_initrd() can be used to create both a big and small initrd.

18 years agoBump version number.
Marc Fiuczynski [Wed, 1 Feb 2006 19:22:47 +0000 (19:22 +0000)]
Bump version number.

bzip and md5sum new biginitrd image.

18 years agocan make multiple CDs in a single run
Thierry Parmentelat [Fri, 16 Dec 2005 11:42:18 +0000 (11:42 +0000)]
can make multiple CDs in a single run

18 years agofixed for when the nodeconf is a symlink
Thierry Parmentelat [Fri, 16 Dec 2005 08:43:33 +0000 (08:43 +0000)]
fixed for when the nodeconf is a symlink

18 years agosupport pldistro "variants"
Mark Huang [Thu, 15 Dec 2005 16:50:39 +0000 (16:50 +0000)]
support pldistro "variants"

18 years agocreation
Thierry Parmentelat [Mon, 5 Dec 2005 13:35:40 +0000 (13:35 +0000)]
creation

this shell script allows to create a node-dependant ISO image

18 years ago- Some temporary cdroot files like /var/empty/sshd and
Mark Huang [Thu, 1 Dec 2005 23:30:03 +0000 (23:30 +0000)]
- Some temporary cdroot files like /var/empty/sshd and
  /usr/bin/sudo get created with non-readable permissions.

18 years ago- use the rollout yumgroups.xml for now (which contains the BootCD group
Mark Huang [Wed, 30 Nov 2005 19:00:42 +0000 (19:00 +0000)]
- use the rollout yumgroups.xml for now (which contains the BootCD group
  definition)

18 years ago- PL6755 fix: use planetlab-rollout/yumgroups.xml file (which contains
Mark Huang [Sun, 27 Nov 2005 17:21:02 +0000 (17:21 +0000)]
- PL6755 fix: use planetlab-rollout/yumgroups.xml file (which contains
  the BootCD group definition) until the 3.2 rollout is complete and the
  /planetlab/yumgroups.xml file contains the BootCD group.

18 years agoadd bootcd_v3 to automated build
Mark Huang [Mon, 21 Nov 2005 22:35:03 +0000 (22:35 +0000)]
add bootcd_v3 to automated build

18 years ago- yum.conf is now generated on the fly by the build script
Mark Huang [Mon, 21 Nov 2005 22:34:51 +0000 (22:34 +0000)]
- yum.conf is now generated on the fly by the build script
- BootCD group now defined in standard build/groups/v3_yumgroups.xml file

18 years ago- update build sources section: build sources are now pulled from the
Mark Huang [Mon, 21 Nov 2005 22:34:19 +0000 (22:34 +0000)]
- update build sources section: build sources are now pulled from the
configured boot server

18 years ago- bump version number
Mark Huang [Mon, 21 Nov 2005 22:33:46 +0000 (22:33 +0000)]
- bump version number
- check for bootmanager-* directories as well (automated build appends
  version strings to exported build directories)
- generate yum.conf on the fly
- solve the bootstrap problem by also including any just built packages
  in yum.conf
- retrieve yumgroups.xml from the configured boot server
- add /sbin and /usr/sbin to su programs, in case we're running under
  sudo and they're not in build's PATH

18 years agorebuild to fix grammar errors
Aaron Klingaman [Fri, 18 Nov 2005 18:46:32 +0000 (18:46 +0000)]
rebuild to fix grammar errors

18 years agofix grammar errors
Aaron Klingaman [Fri, 18 Nov 2005 18:39:54 +0000 (18:39 +0000)]
fix grammar errors

18 years agofirst version of boot cd documentation (3.x cds)
Aaron Klingaman [Thu, 17 Nov 2005 20:18:13 +0000 (20:18 +0000)]
first version of boot cd documentation (3.x cds)

18 years agoworking draft of boot cd v3 documentation
Aaron Klingaman [Wed, 16 Nov 2005 23:04:12 +0000 (23:04 +0000)]
working draft of boot cd v3 documentation

18 years agoThis change is for yum-2.4 from fc4
Thierry Parmentelat [Thu, 3 Nov 2005 16:24:00 +0000 (16:24 +0000)]
This change is for yum-2.4 from fc4

when we build the CD from an fc4 node, we want the yum client to ignore
/etc/yum.repos.d/

This probably would still make sense if the nodes were to run fc4 too.

18 years agoWhen using yum-2.4 from fc4 to build the bootcd, we get a huge
Thierry Parmentelat [Thu, 3 Nov 2005 16:23:28 +0000 (16:23 +0000)]
When using yum-2.4 from fc4 to build the bootcd, we get a huge
directory under <cdroot>/var/yum/cache (in the 100Mb)
It is thus relocated under usr/relocated/var/cache/ and a symlink is
created, in much the same way as for /var/lib/rpm

Not sure that makes sense to keep all this though, but for now it
allows to proceed