Thierry Parmentelat [Wed, 26 Mar 2008 09:03:31 +0000 (09:03 +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
Thierry Parmentelat [Fri, 21 Mar 2008 10:17:47 +0000 (10:17 +0000)]
cosmetic : displays the node configuration file
Faiyaz Ahmed [Mon, 17 Mar 2008 20:18:10 +0000 (20:18 +0000)]
Module changed names.
Thierry Parmentelat [Mon, 17 Mar 2008 16:03:43 +0000 (16:03 +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
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000 (11:45 +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
Thierry Parmentelat [Thu, 28 Feb 2008 10:12:08 +0000 (10:12 +0000)]
remove empty dir
Faiyaz Ahmed [Thu, 21 Feb 2008 20:36:31 +0000 (20:36 +0000)]
missed closing bracket when substituting kargs for serial.
Marc Fiuczynski [Tue, 19 Feb 2008 20:31:36 +0000 (20:31 +0000)]
-support so that kexec is invoked with the corrects args for serial console output
Thierry Parmentelat [Thu, 14 Feb 2008 14:50:53 +0000 (14:50 +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
Thierry Parmentelat [Wed, 13 Feb 2008 13:55:00 +0000 (13:55 +0000)]
previous change was too deep a cleaning - as might have been suspected
this restores the required stuff in /usr/bootme
Thierry Parmentelat [Wed, 13 Feb 2008 10:56:59 +0000 (10:56 +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
Thierry Parmentelat [Wed, 13 Feb 2008 10:38:33 +0000 (10:38 +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
Thierry Parmentelat [Tue, 12 Feb 2008 20:32:00 +0000 (20:32 +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
Marc Fiuczynski [Thu, 7 Feb 2008 16:35:30 +0000 (16:35 +0000)]
- fixed bug where all bootcd were built assuming a serial line console.
- cleaned up console definition
Marc Fiuczynski [Fri, 1 Feb 2008 21:41:11 +0000 (21:41 +0000)]
Minor clean up to modprobe() function.
Marc Fiuczynski [Fri, 1 Feb 2008 20:49:27 +0000 (20:49 +0000)]
Added support to specify serial line options from the command line.
Thierry Parmentelat [Thu, 31 Jan 2008 14:01:17 +0000 (14:01 +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
Faiyaz Ahmed [Wed, 30 Jan 2008 20:46:03 +0000 (20:46 +0000)]
possible fix for rmmod floppy hanging before kexec on nodes without drives.
Thierry Parmentelat [Wed, 16 Jan 2008 10:03:57 +0000 (10:03 +0000)]
Passing a custom-dir without setting serial was not working
Fixed/protected arg passing among functions
+ formatting, marginally
Thierry Parmentelat [Tue, 15 Jan 2008 16:06:53 +0000 (16:06 +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
Thierry Parmentelat [Tue, 15 Jan 2008 16:00:41 +0000 (16:00 +0000)]
removed extra quotes - fixes the iso/cramfs build
Faiyaz Ahmed [Fri, 11 Jan 2008 18:54:54 +0000 (18:54 +0000)]
ifs and fis without indents make me dizzy.
Stephen Soltesz [Fri, 11 Jan 2008 00:00:56 +0000 (00:00 +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.
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000 (12:31 +0000)]
cleaning up the root creation functions and build.common - untested
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
Daniel Hokka Zakrisson [Wed, 5 Dec 2007 20:28:44 +0000 (20:28 +0000)]
Handle wireless (by letting ifup do its thang).
Daniel Hokka Zakrisson [Mon, 3 Dec 2007 16:34:00 +0000 (16:34 +0000)]
loadedmodules is global.
Daniel Hokka Zakrisson [Fri, 30 Nov 2007 18:07:54 +0000 (18:07 +0000)]
Add OpenVPN.
Thierry Parmentelat [Thu, 29 Nov 2007 16:22:36 +0000 (16:22 +0000)]
who wants to use rsh ?
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 06:36:47 +0000 (06:36 +0000)]
Remove unused directory.
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.
Marc Fiuczynski [Thu, 29 Nov 2007 05:58:30 +0000 (05:58 +0000)]
copy isolinux.bin from install syslinux
Marc Fiuczynski [Thu, 29 Nov 2007 05:48:49 +0000 (05:48 +0000)]
syslinux has been removed
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.
Daniel Hokka Zakrisson [Thu, 29 Nov 2007 00:24:09 +0000 (00:24 +0000)]
Drop syslinux, require distro's version instead.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 23:17:51 +0000 (23:17 +0000)]
isolinux.bin needs to be writable.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 18:47:38 +0000 (18:47 +0000)]
Readd /tmp/loadedmodules.
Thierry Parmentelat [Wed, 28 Nov 2007 06:28:39 +0000 (06:28 +0000)]
obsolete package
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.
Daniel Hokka Zakrisson [Wed, 28 Nov 2007 00:44:23 +0000 (00:44 +0000)]
Non-root users cannot chown.
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 05:53:42 +0000 (05:53 +0000)]
Readd the -a option to build all supported images.
Daniel Hokka Zakrisson [Mon, 26 Nov 2007 05:49:47 +0000 (05:49 +0000)]
Use /data/tmp if it exists.
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.
Thierry Parmentelat [Wed, 21 Nov 2007 14:08:41 +0000 (14:08 +0000)]
includes pypcilib
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
Thierry Parmentelat [Wed, 21 Nov 2007 09:50:45 +0000 (09:50 +0000)]
replacing pldistro-fcdistro-*.lst with a pldistro-*.lst with variants embedded
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 03:47:50 +0000 (03:47 +0000)]
Progif added to class.
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 03:20:12 +0000 (03:20 +0000)]
pl_pcitable isn't used anymore.
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?).
Daniel Hokka Zakrisson [Wed, 21 Nov 2007 02:32:06 +0000 (02:32 +0000)]
Rewrite pl_hwinit in Python.
Daniel Hokka Zakrisson [Tue, 20 Nov 2007 16:39:50 +0000 (16:39 +0000)]
Merge disconnected ops branch.
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
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