Thierry Parmentelat [Tue, 20 Nov 2007 08:50:04 +0000 (08:50 +0000)]
created from fc6
Thierry Parmentelat [Mon, 19 Nov 2007 16:55:14 +0000 (16:55 +0000)]
figures where modprobe.conf.dist gets installed
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
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.
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.
Marc Fiuczynski [Mon, 15 Oct 2007 16:26:43 +0000 (16:26 +0000)]
Add in filesystem package explicitly.
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.
Marc Fiuczynski [Mon, 15 Oct 2007 15:12:02 +0000 (15:12 +0000)]
pushd to BootCD rather than bootcd.
Marc Fiuczynski [Fri, 31 Aug 2007 02:29:35 +0000 (02:29 +0000)]
use build/build.common functions
Marc Fiuczynski [Tue, 28 Aug 2007 21:52:38 +0000 (21:52 +0000)]
fix to selecting Fedora release number
Marc Fiuczynski [Fri, 24 Aug 2007 06:48:06 +0000 (06:48 +0000)]
Make Fedora 7 compatible
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.
Marc Fiuczynski [Thu, 16 Aug 2007 21:39:33 +0000 (21:39 +0000)]
specify architecture to build bootcd for
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.
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.
Marc Fiuczynski [Thu, 8 Mar 2007 17:51:56 +0000 (17:51 +0000)]
invoke prep with fedora core release argument
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
Mark Huang [Mon, 4 Dec 2006 20:27:43 +0000 (20:27 +0000)]
- select newascii cpio format explicitly, debian cpio uses oldascii by default
Mark Huang [Mon, 4 Dec 2006 20:07:18 +0000 (20:07 +0000)]
support RC1 configs
Mark Huang [Sat, 2 Dec 2006 04:55:53 +0000 (04:55 +0000)]
experimental build script for new build system
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.
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.
Thierry Parmentelat [Thu, 24 Aug 2006 14:41:46 +0000 (14:41 +0000)]
fix - small glitch when building several images
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.
Mark Huang [Mon, 21 Aug 2006 20:45:23 +0000 (20:45 +0000)]
- also install vconfig, the VLAN configuration utility
Mark Huang [Mon, 21 Aug 2006 20:24:09 +0000 (20:24 +0000)]
Install supermicro ipnmac utility
Mark Huang [Mon, 21 Aug 2006 20:23:53 +0000 (20:23 +0000)]
Linux ipnmac utility from SuperMicro
Mark Huang [Mon, 21 Aug 2006 20:23:16 +0000 (20:23 +0000)]
- allow IPMI_ADDRESS and IPMI_MAC to be specified
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.
Mark Huang [Mon, 21 Aug 2006 20:21:32 +0000 (20:21 +0000)]
- initialize IPMI interface (currently only SuperMicro boards are
supported)
Thierry Parmentelat [Fri, 11 Aug 2006 12:53:51 +0000 (12:53 +0000)]
dev replaced with udev for mkfedora package checking
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
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!
Mark Huang [Mon, 24 Jul 2006 15:33:07 +0000 (15:33 +0000)]
- get rid of /boot after copying kernel out
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)
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
Mark Huang [Sat, 1 Jul 2006 03:13:23 +0000 (03:13 +0000)]
do not compile com32 tools
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)
Thierry Parmentelat [Wed, 28 Jun 2006 15:01:01 +0000 (15:01 +0000)]
added a comment on the load order among the images
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
Mark Huang [Fri, 23 Jun 2006 20:28:31 +0000 (20:28 +0000)]
- install root CA SSL certificate instead of boot server certificate
Mark Huang [Tue, 30 May 2006 19:09:14 +0000 (19:09 +0000)]
- remove pycurl from bootcd
Thierry Parmentelat [Tue, 23 May 2006 13:07:09 +0000 (13:07 +0000)]
supports partial bootcd in bootcd-custom, merges with CD if found
Thierry Parmentelat [Tue, 23 May 2006 08:58:03 +0000 (08:58 +0000)]
reworked for new CD layout
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
Mark Huang [Thu, 18 May 2006 22:18:07 +0000 (22:18 +0000)]
- label step
Mark Huang [Thu, 18 May 2006 21:52:51 +0000 (21:52 +0000)]
- get rid of a lot of unnecessary junk
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
Mark Huang [Mon, 15 May 2006 21:13:58 +0000 (21:13 +0000)]
- build FC4 based Boot CD by default
Mark Huang [Mon, 15 May 2006 21:11:00 +0000 (21:11 +0000)]
- start udevd if appropriate (FC4)
Mark Huang [Mon, 15 May 2006 19:19:55 +0000 (19:19 +0000)]
- build using fc4, need -k to avoid installing vanilla fc4 kernel
Mark Huang [Mon, 15 May 2006 19:19:33 +0000 (19:19 +0000)]
- build with fc4 filesystem
- rename bootcd_v3 to bootcd
Mark Huang [Mon, 15 May 2006 19:15:56 +0000 (19:15 +0000)]
remove generated files
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
Mark Huang [Wed, 12 Apr 2006 20:42:59 +0000 (20:42 +0000)]
- dirname no longer in /bin
Mark Huang [Fri, 7 Apr 2006 03:59:10 +0000 (03:59 +0000)]
*** empty log message ***
Mark Huang [Fri, 7 Apr 2006 03:58:07 +0000 (03:58 +0000)]
- fix /etc/issue generation
Mark Huang [Fri, 7 Apr 2006 03:50:08 +0000 (03:50 +0000)]
- provide a better /etc/issue message
Mark Huang [Mon, 3 Apr 2006 20:07:45 +0000 (20:07 +0000)]
- define default PATH
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
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
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
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.
Mark Huang [Mon, 3 Apr 2006 19:28:21 +0000 (19:28 +0000)]
- set hostname when configuring statically
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
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
Mark Huang [Fri, 10 Mar 2006 18:20:34 +0000 (18:20 +0000)]
- run yum-arch on Bootstrap RPMS directory before using
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.
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.
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.
Marc Fiuczynski [Wed, 1 Feb 2006 19:22:47 +0000 (19:22 +0000)]
Bump version number.
bzip and md5sum new biginitrd image.
Thierry Parmentelat [Fri, 16 Dec 2005 11:42:18 +0000 (11:42 +0000)]
can make multiple CDs in a single run
Thierry Parmentelat [Fri, 16 Dec 2005 08:43:33 +0000 (08:43 +0000)]
fixed for when the nodeconf is a symlink
Mark Huang [Thu, 15 Dec 2005 16:50:39 +0000 (16:50 +0000)]
support pldistro "variants"
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
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.
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)
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.
Mark Huang [Mon, 21 Nov 2005 22:35:03 +0000 (22:35 +0000)]
add bootcd_v3 to automated build
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
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
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
Aaron Klingaman [Fri, 18 Nov 2005 18:46:32 +0000 (18:46 +0000)]
rebuild to fix grammar errors
Aaron Klingaman [Fri, 18 Nov 2005 18:39:54 +0000 (18:39 +0000)]
fix grammar errors
Aaron Klingaman [Thu, 17 Nov 2005 20:18:13 +0000 (20:18 +0000)]
first version of boot cd documentation (3.x cds)
Aaron Klingaman [Wed, 16 Nov 2005 23:04:12 +0000 (23:04 +0000)]
working draft of boot cd v3 documentation
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.
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
Mark Huang [Tue, 21 Jun 2005 21:21:39 +0000 (21:21 +0000)]
- if using it to boot, mount the flash device at /tmp/<partition>
instead of trying to be clever and temporarily mounting it at
/usr. Being clever confuses "mount /usr" in BootServerRequest.py,
causing it to re-mount the FAT filesystem a third time on top of /usr
instead of leaving it alone as already mounted.
Mark Huang [Tue, 21 Jun 2005 21:19:15 +0000 (21:19 +0000)]
- leave 1 MB of free space on the USB image filesystem
Mark Huang [Tue, 21 Jun 2005 19:09:53 +0000 (19:09 +0000)]
- trick rpm and yum into only installing en_US locale and no docs when
using rpm --root or yum --installroot
Mark Huang [Tue, 21 Jun 2005 18:56:58 +0000 (18:56 +0000)]
- bump version number of BootCD now that we support USB flash
Mark Huang [Tue, 21 Jun 2005 18:50:48 +0000 (18:50 +0000)]
build a USB image as well
Mark Huang [Tue, 21 Jun 2005 18:50:18 +0000 (18:50 +0000)]
- when checking removable flash devices, check all partitions on it
(including the case when there are no partitions on it (e.g. just
/dev/sda instead of /dev/sda1), i.e. the way I'm about to recommend
that the flash devices be formatted in the documentation: dd
if=PlanetLab-BootCD-3.0.usb of=/dev/sda)
Mark Huang [Tue, 21 Jun 2005 18:48:19 +0000 (18:48 +0000)]
- add support for booting from USB flash device.
- the way this works is to loopback mount the usual ISO9660 image, which
should reside as a regular file on the (presumably FAT) filesystem on
the key.
Aaron Klingaman [Tue, 7 Jun 2005 15:14:07 +0000 (15:14 +0000)]
final 3.0 image
Aaron Klingaman [Fri, 3 Jun 2005 17:25:26 +0000 (17:25 +0000)]
change boot cd repo name, remove 'test' since we are long beyond that.
Aaron Klingaman [Fri, 27 May 2005 19:04:48 +0000 (19:04 +0000)]
add default usb system wait period
Aaron Klingaman [Fri, 27 May 2005 18:06:56 +0000 (18:06 +0000)]
- move flash device delay from pl_netinit to pl_hwinit
- rather than just wait for a blind 15seconds, wait up to 30 seconds
checking /sys/devices to see if drivers are loaded for the mass storage
devices, checking every 5 seconds
- above change requires the find and dirname binaries, which were moved
from /usr/bin to /bin (by build.sh)
Aaron Klingaman [Fri, 27 May 2005 14:52:24 +0000 (14:52 +0000)]
increase delay for flash devices, output lspci lines for network adapters
if net initialization fails (so it is easy for users to email us when
the cd doesn't support their net adapters)