bootcd.git
18 years ago- merge revision 1.2 planetlab-3_2-branch planetlab-3_2-branch
Mark Huang [Thu, 1 Dec 2005 23:30:25 +0000 (23:30 +0000)]
- merge revision 1.2
date: 2005/12/01 23:30:03;  author: mlhuang;  state: Exp;  lines: +3 -0
- Some temporary cdroot files like /var/empty/sshd and
  /usr/bin/sudo get created with non-readable permissions.

18 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Wed, 30 Nov 2005 19:00:43 +0000 (19:00 +0000)]
This commit was manufactured by cvs2svn to create branch
'planetlab-3_2-branch'.

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

18 years ago- if using it to boot, mount the flash device at /tmp/<partition>
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.

18 years ago- leave 1 MB of free space on the USB image filesystem
Mark Huang [Tue, 21 Jun 2005 21:19:15 +0000 (21:19 +0000)]
- leave 1 MB of free space on the USB image filesystem

18 years ago- trick rpm and yum into only installing en_US locale and no docs when
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

18 years ago- bump version number of BootCD now that we support USB flash
Mark Huang [Tue, 21 Jun 2005 18:56:58 +0000 (18:56 +0000)]
- bump version number of BootCD now that we support USB flash

18 years agobuild a USB image as well
Mark Huang [Tue, 21 Jun 2005 18:50:48 +0000 (18:50 +0000)]
build a USB image as well

18 years ago- when checking removable flash devices, check all partitions on it
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)

18 years ago- add support for booting from USB flash device.
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.

18 years agofinal 3.0 image
Aaron Klingaman [Tue, 7 Jun 2005 15:14:07 +0000 (15:14 +0000)]
final 3.0 image

18 years agochange boot cd repo name, remove 'test' since we are long beyond that.
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.

18 years agoadd default usb system wait period
Aaron Klingaman [Fri, 27 May 2005 19:04:48 +0000 (19:04 +0000)]
add default usb system wait period

18 years ago- move flash device delay from pl_netinit to pl_hwinit
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)

18 years agoincrease delay for flash devices, output lspci lines for network adapters
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)

18 years agomove the merge_hw_tables.py script to the bootmanager, and call it from there
Aaron Klingaman [Fri, 27 May 2005 14:51:22 +0000 (14:51 +0000)]
move the merge_hw_tables.py script to the bootmanager, and call it from there

18 years agomoved to boot manager
Aaron Klingaman [Fri, 20 May 2005 15:18:32 +0000 (15:18 +0000)]
moved to boot manager

18 years agofor backwards compatibilty, copy primary server cacert to old directory
Aaron Klingaman [Mon, 9 May 2005 17:04:11 +0000 (17:04 +0000)]
for backwards compatibilty, copy primary server cacert to old directory
/usr/bootme/cacert/<server>/cacert.pem

18 years ago- make the EXTRA_VERSION part come before the primary version, so the
Aaron Klingaman [Mon, 9 May 2005 15:04:54 +0000 (15:04 +0000)]
- make the EXTRA_VERSION part come before the primary version, so the
version files on the boot cd always end with the major/minor numbers (easier
parsing)
- remove  ability to specify output iso name, build it from the version info

18 years agoadd sharutils (for uudecode/uuencode) to cd
Aaron Klingaman [Mon, 9 May 2005 14:32:25 +0000 (14:32 +0000)]
add sharutils (for uudecode/uuencode) to cd

18 years agohow bind-utils isn't on the cd until now is beyond me. this adds the host
Aaron Klingaman [Thu, 5 May 2005 18:07:58 +0000 (18:07 +0000)]
how bind-utils isn't on the cd until now is beyond me. this adds the host
command.

18 years agoup contact attempts to 3 and print a message indicating which server
Aaron Klingaman [Wed, 4 May 2005 18:09:08 +0000 (18:09 +0000)]
up contact attempts to 3 and print a message indicating which server
(primary/backup) we are attempting to connect to.

18 years ago- update build process to support multiple boot cd configurations
Aaron Klingaman [Wed, 4 May 2005 16:50:14 +0000 (16:50 +0000)]
- update build process to support multiple boot cd configurations
  (different set of servers to contact, etc)
- make default configuration one that contacts plc, backup server boot1 at
  plc
- modify pl_boot script to contact backup server after a number of failures

19 years agopath for sleep wrong
Aaron Klingaman [Tue, 3 May 2005 21:24:00 +0000 (21:24 +0000)]
path for sleep wrong

19 years agodoesn't work, no point in keeping it or fixing it
Aaron Klingaman [Tue, 3 May 2005 19:40:59 +0000 (19:40 +0000)]
doesn't work, no point in keeping it or fixing it

19 years agorun all configuration files through dos2unix
Aaron Klingaman [Fri, 29 Apr 2005 19:33:37 +0000 (19:33 +0000)]
run all configuration files through dos2unix

19 years agoadd dos utility rpms
Aaron Klingaman [Fri, 29 Apr 2005 19:27:58 +0000 (19:27 +0000)]
add dos utility rpms

19 years agoupdate the version file in the old location (used for backward compatibility)
Aaron Klingaman [Fri, 29 Apr 2005 18:50:49 +0000 (18:50 +0000)]
update the version file in the old location (used for backward compatibility)

19 years agoa few typos created the nice chain of events:
Aaron Klingaman [Thu, 28 Apr 2005 18:23:11 +0000 (18:23 +0000)]
a few typos created the nice chain of events:
1. modules.dep was not being read for the list of modules
2. the script merges pcitable (from hwdata) based on the list of modules
   (which wasn't present)
3. this resulted in a few modules not being loaded by the boot cd when
   appropriate, including the mptscsih driver for the scsi controllers
   in dell 1850s
the cd worked fine otherwise because it successfully read modules.pcimap
which is generated based on the PCI_ENTRY fields in the drivers. For some
reason, the mptscsih driver DOESN'T have a PCI_ENTRY in its driver,
so it doesn't show up there. fedora's pcitable (from hwdata) has
it, which is why the two sources need to be merged.

19 years agoupdate net init scripts and basic validate script to use
Aaron Klingaman [Wed, 27 Apr 2005 21:05:25 +0000 (21:05 +0000)]
update net init scripts and basic validate script to use
new fields for the boot manager (NODE_KEY, NODE_ID, and NET_DEVICE)

19 years agobump release number
Aaron Klingaman [Wed, 27 Apr 2005 21:00:15 +0000 (21:00 +0000)]
bump release number

19 years agoenable configuration files to be located in numerous places, including
Aaron Klingaman [Wed, 27 Apr 2005 20:58:59 +0000 (20:58 +0000)]
enable configuration files to be located in numerous places, including
enabling support for usb based flash disks.

19 years agonet.ipv4.tcp_default_win_scale removed in 2.6.10, use
Aaron Klingaman [Tue, 5 Apr 2005 19:09:51 +0000 (19:09 +0000)]
net.ipv4.tcp_default_win_scale removed in 2.6.10, use
net.ipv4.tcp_window_scaling instead

19 years agoadd a nice little hack to make sure that yum installs all the rpms
Aaron Klingaman [Fri, 1 Apr 2005 19:18:00 +0000 (19:18 +0000)]
add a nice little hack to make sure that yum installs all the rpms
in the bootcd group, so the script will fail if anything is missing

19 years agomake version 0.3, 0.2 was built on an incorrect kernel rpm and was pulled
Aaron Klingaman [Tue, 29 Mar 2005 19:43:25 +0000 (19:43 +0000)]
make version 0.3, 0.2 was built on an incorrect kernel rpm and was pulled

19 years ago- bump ramdisk size to 64mb to handle kernels with all modules
Aaron Klingaman [Thu, 24 Mar 2005 18:40:32 +0000 (18:40 +0000)]
- bump ramdisk size to 64mb to handle kernels with all modules
- bump version to 0.2: rebuilt with latest 2.6.8 planetlab kernel
- make sure the script exits if the ramdisk creation fails

19 years agocall sysctl -e -p to load /etc/sysctl.conf
Aaron Klingaman [Tue, 7 Dec 2004 16:32:02 +0000 (16:32 +0000)]
call sysctl -e -p to load /etc/sysctl.conf

19 years agospelling mistake in message output
Aaron Klingaman [Tue, 7 Dec 2004 16:20:00 +0000 (16:20 +0000)]
spelling mistake in message output

19 years agoadd tcp window/broken router fix
Aaron Klingaman [Tue, 7 Dec 2004 16:00:30 +0000 (16:00 +0000)]
add tcp window/broken router fix

19 years agoin generating the pci table lookup for hardware detection, we now
Aaron Klingaman [Mon, 6 Dec 2004 20:34:39 +0000 (20:34 +0000)]
in generating the pci table lookup for hardware detection, we now
merge in what we can from /usr/share/hwdata/pcitable. it is more out of date
that the dynamically generated modules.pcimap, but, it also seems to contain
some entries that are missing from the modules.

19 years agoreadd ability for bootscripts to cancel the boot process
Aaron Klingaman [Mon, 6 Dec 2004 19:45:36 +0000 (19:45 +0000)]
readd ability for bootscripts to cancel the boot process

19 years agoexplicitly add openssh-server
Aaron Klingaman [Mon, 6 Dec 2004 19:37:51 +0000 (19:37 +0000)]
explicitly add openssh-server
add ncftp

19 years agoremove blank=fast from burn command
Aaron Klingaman [Mon, 6 Dec 2004 19:04:05 +0000 (19:04 +0000)]
remove blank=fast from burn command

19 years agoadd parted and the python pyparted bindings
Aaron Klingaman [Sun, 5 Dec 2004 16:07:25 +0000 (16:07 +0000)]
add parted and the python pyparted bindings

19 years agocopy old bootme directory and new lvm conf file
Aaron Klingaman [Sun, 5 Dec 2004 16:06:57 +0000 (16:06 +0000)]
copy old bootme directory and new lvm conf file

19 years agomake lvm default to lvm1 metadata, for backward compatibilityx
Aaron Klingaman [Sun, 5 Dec 2004 16:06:35 +0000 (16:06 +0000)]
make lvm default to lvm1 metadata, for backward compatibilityx

19 years agoadd old bootme dir to make cd work with hacked up scripts
Aaron Klingaman [Sun, 5 Dec 2004 16:05:51 +0000 (16:05 +0000)]
add old bootme dir to make cd work with hacked up scripts

19 years agowrite out the output of ifconfig to /tmp for backward compatibility.
Aaron Klingaman [Thu, 2 Dec 2004 22:40:39 +0000 (22:40 +0000)]
write out the output of ifconfig to /tmp for backward compatibility.

19 years agofor backward compatibility, write a list of loaded modules to /tmp
Aaron Klingaman [Thu, 2 Dec 2004 22:40:09 +0000 (22:40 +0000)]
for backward compatibility, write a list of loaded modules to /tmp

19 years agoscript to contact PLC. currently posts the same data the old script does.
Aaron Klingaman [Thu, 2 Dec 2004 22:39:42 +0000 (22:39 +0000)]
script to contact PLC. currently posts the same data the old script does.

19 years agocorrect gpg package name, add a decent text editor
Aaron Klingaman [Thu, 2 Dec 2004 22:38:58 +0000 (22:38 +0000)]
correct gpg package name, add a decent text editor

19 years agohandle runlevel 0 and 6 correctly
Aaron Klingaman [Thu, 2 Dec 2004 22:37:51 +0000 (22:37 +0000)]
handle runlevel 0 and 6 correctly

19 years agoon second thought, use the original pubring until we take the 3.0 cd out of
Aaron Klingaman [Thu, 2 Dec 2004 20:06:53 +0000 (20:06 +0000)]
on second thought, use the original pubring until we take the 3.0 cd out of
beta

19 years agosetup files on cd with boot server info
Aaron Klingaman [Thu, 2 Dec 2004 19:41:22 +0000 (19:41 +0000)]
setup files on cd with boot server info

19 years agoadd gpg
Aaron Klingaman [Thu, 2 Dec 2004 19:40:56 +0000 (19:40 +0000)]
add gpg

19 years agotemp gpg key ring (public), will be replaced when cd is released
Aaron Klingaman [Thu, 2 Dec 2004 19:40:32 +0000 (19:40 +0000)]
temp gpg key ring (public), will be replaced when cd is released

19 years agomake it more like redhat, use mingetty
Aaron Klingaman [Thu, 2 Dec 2004 19:38:55 +0000 (19:38 +0000)]
make it more like redhat, use mingetty

19 years agoboot.planet-lab.org cacert
Aaron Klingaman [Thu, 2 Dec 2004 19:38:23 +0000 (19:38 +0000)]
boot.planet-lab.org cacert

19 years agooops, need newlines in /etc/issue
Aaron Klingaman [Thu, 2 Dec 2004 16:01:56 +0000 (16:01 +0000)]
oops, need newlines in /etc/issue

19 years agowrite a custom /etc/issue
Aaron Klingaman [Thu, 2 Dec 2004 15:58:42 +0000 (15:58 +0000)]
write a custom /etc/issue

19 years agoif no network configuration files are found, this one (included on the cd)
Aaron Klingaman [Thu, 2 Dec 2004 00:01:24 +0000 (00:01 +0000)]
if no network configuration files are found, this one (included on the cd)
is used

19 years agoplaceholder for script to contact plc
Aaron Klingaman [Thu, 2 Dec 2004 00:00:56 +0000 (00:00 +0000)]
placeholder for script to contact plc

19 years agomildly sanitize network configuration files
Aaron Klingaman [Thu, 2 Dec 2004 00:00:25 +0000 (00:00 +0000)]
mildly sanitize network configuration files

19 years agoadd call to net initialization script
Aaron Klingaman [Thu, 2 Dec 2004 00:00:04 +0000 (00:00 +0000)]
add call to net initialization script
don't scan floppy disks for the boot cd. :)

19 years agoneed to load the floppy module
Aaron Klingaman [Wed, 1 Dec 2004 23:59:21 +0000 (23:59 +0000)]
need to load the floppy module

19 years agonetwork initialization in its own script
Aaron Klingaman [Wed, 1 Dec 2004 23:58:56 +0000 (23:58 +0000)]
network initialization in its own script

19 years agothe boot cd rpm group definition file
Aaron Klingaman [Wed, 1 Dec 2004 23:58:34 +0000 (23:58 +0000)]
the boot cd rpm group definition file

19 years agomake 2 default run level, other minor changes
Aaron Klingaman [Wed, 1 Dec 2004 23:57:39 +0000 (23:57 +0000)]
make 2 default run level, other minor changes

19 years agodon't attempt to build iso before burning
Aaron Klingaman [Wed, 1 Dec 2004 23:57:05 +0000 (23:57 +0000)]
don't attempt to build iso before burning
copy default network conf file to cd
make all pl_* init scripts executable

19 years agoThis commit was generated by cvs2svn to compensate for changes in r525,
Aaron Klingaman [Mon, 22 Nov 2004 19:28:23 +0000 (19:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r525,
which included commits to RCS files with non-trunk default branches.

20 years agoNew repository initialized by cvs2svn.
Planet-Lab Support [Wed, 4 Jun 2003 20:07:28 +0000 (20:07 +0000)]
New repository initialized by cvs2svn.