Commit Graph

113 Commits

Author SHA1 Message Date
Daniel Baumann 7cacae2d94 Renaming live-failsafe boot target to livefailsafe (Closes: #450576). 2007-11-10 15:23:27 +01:00
Jesse Hathaway 27e3585e7a add new option --syslinux-menu to enable syslinux menu
added a new syslinux menu splash screen, I'm not an artist
but I think it is better than the generic splash which was
already included. Also added the svg file if anyone wants
to make any changes.
2007-11-02 09:34:00 -04:00
Daniel Baumann a0fcb117a0 Corrected wrong path, thanks to Ben Armstrong <synrg@debian.org>. 2007-11-01 17:52:12 +01:00
Jesse Hathaway b2068cd691 fix isolinux when booting multiple kernel flavours 2007-10-31 16:20:57 -04:00
Jesse Hathaway 890801563d fix syslinux timeout option
change MILISECONDS to SECONDS. Syslinux actually uses
tenths of seconds not milliseconds, but it seems
unnecessary to expose this to the user. Fix templates
to only specify the timeout once.
2007-10-31 14:43:26 -04:00
Jesse Hathaway e7100f46b8 add /etc/adjtime to list of writable files in exposed root mode 2007-10-31 10:20:15 -04:00
Jesse Hathaway 800687e9ba allow basename of net-root-path to be binary
This is convenient for testing as you can directly export
the build directory, rather than untarring the net image
in another location.
2007-10-31 10:20:15 -04:00
Jesse Hathaway ae8cb3bce0 add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
2007-10-31 10:20:15 -04:00
Daniel Baumann f7777a1712 Adding lh_chroot_devpts. 2007-10-31 11:20:03 +01:00
Daniel Baumann 15f9200589 Fixing indenting. 2007-10-31 11:10:05 +01:00
Jesse Hathaway bb08fc8d1e add new option to mount cow device on nfs volume
At the moment this only works with the root volume
on nfs as well. If we add a switch to configure the
network early in the boot process then this option
could be made available for other root mediums. This
option works reliably on the latest kernel 2.6.23.1
On earlier kernels I experienced frequent oopses.
2007-10-31 11:06:58 +01:00
Daniel Baumann eaadafff8e Fixing typing error (wrong variable name). 2007-10-31 10:49:38 +01:00
Daniel Baumann e4410130ab Fixing typing error (missing paranthese). 2007-10-30 09:52:38 +01:00
Daniel Baumann d29dd22a73 Respecting LH_BOOTSTRAP_FLAVOUR (Closes: #448034). 2007-10-30 06:35:35 +01:00
Alex Owen c71e0d5517 fix lh_chroot_sources to actually install *.deb from config/chroot_sources 2007-10-28 18:22:33 -02:00
Maarten ter Huurne b01e3ff769 Added feature to exclude paths from the root filesystem.
To make the root filesystem as small as possible, it can be useful to exclude
certain files or directories. This is now possible by using the file
config/binary_rootfs/exclude, which contains a whitespace separated list of
file paths to exclude; wildcards are allowed. These paths are removed from the
chroot copy before the root filesystem is built.
2007-10-28 03:14:42 +01:00
Maarten ter Huurne c7e50a404e Remove ".img" from kernel image file name.
When an ISO is created with the kernel image file name ending in ".img", the
ISO will not boot. In Qemu, the following error will be shown:

        FATAL: Int13 eltorito call with AX=4C00

This means a non-implemented BIOS entry was called. In VMware and on real
hardware there is a different error message:

        Cannot load disk image (invalid file)?

Removing the ".img" part of the file name solves this.
2007-10-27 20:38:15 +02:00
Jesse Hathaway 00aa1d0c28 add exposedroot option which exposes the root fs as ro
This option allows you to expose the root read only.  Using
this option a person could upgrade the root filesystem or
add packages without requiring the user to reboot. The root
filesystem could be kept on an nfs volume or some other
persistent medium. Multiple clients could then be booted off
the same root fs. I used LTSP as a template to determine which
directories to make rw.
2007-10-24 13:36:42 -04:00
Daniel Baumann 24767fd736 Removing mkisofs support. 2007-10-19 12:54:26 +02:00
Daniel Baumann 979cd28cc4 Removing ubuntu support. 2007-10-19 12:45:57 +02:00
Daniel Baumann ce0c2b4e64 Adding lh_binary_local-packageslists. 2007-10-18 22:28:54 +02:00
Otavio Salvador b1d10e6a28 lh_binary_syslinux: always put splash image as splash.{rle,png} to avoid filename issues 2007-10-17 13:55:08 -02:00
Otavio Salvador 763a576d88 lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path 2007-10-17 13:53:54 -02:00
Jesse Hathaway 293ef95b91 lh_binary_syslinux: fix usb-hdd etch images
I did not realize that the syslinux boot methods,
iso, net, & hdd do not have feature parity for any
given version. As per old comments etch syslinux
v3.31 does not support sub directories on FAT images
2007-10-17 13:53:49 -02:00
Daniel Baumann e98b7dda9d Adding support for a local /etc/apt/preferences file in config/chroot_apt/preferences. 2007-10-14 21:47:35 +02:00
Jesse Hathaway c5f302869e readd support for booting etch via syslinux 2007-10-14 11:33:10 -04:00
Jesse Hathaway 4314b13356 Unify syslinux code, so that pxelinux isolinux & usb-hdd
share more code.

Change pxelinux directory setup to match debian installer

Change syslinux templates to use {$VAR} syntax so the
templates are easier to read

Remove etch support for syslinux, since INCLUDE syntax
is not available in etch syslinux v3.31
2007-10-14 11:32:43 -04:00
Daniel Baumann f712678141 Adding check to fail if a cross build is started (Closes: #444669, #444670). 2007-10-10 11:39:55 +02:00
Daniel Baumann 0a3c459b6a Fixing consistency error. 2007-10-09 22:50:35 +02:00
Otavio Salvador 883594ed64 syslinux: fix usb-hdd templates coping 2007-10-09 13:04:56 -03:00
Otavio Salvador 4d6271dddb syslinux: properly change timeout and do not fail if help files do not exists 2007-10-09 10:28:05 -03:00
Otavio Salvador 9b189a6255 syslinux: fix usb-hdd entries to use menu.cfg file 2007-10-08 17:43:48 -03:00
Otavio Salvador 30fb0c2272 fix version guessing using proper evaluation 2007-10-08 17:45:36 +02:00
Otavio Salvador e1f157ee2c iso: use -allow-multidot option when calling genisoimage
To properly support syslinux menus we need to provide fonts (specially
when using accents and like) and those files are usually found on
systems using multiple dots on their filenames (e.g iso01.f14.psf) and
then makes sense to support this by default or our users can spent _a
lot_ of time to sort this kind of problem out.

While doing it, the duplicated command line has been removed and code
changed to avoid this duplication making future changes need to touch
just one place.
2007-10-08 10:14:38 +02:00
Otavio Salvador aed8d437ac syslinux: force latin1 encoding on texts used for labels
syslinux cannot handle utf-8 encoding and then proper encoding needed
to be enforced while printing the label texts.
2007-10-08 10:14:30 +02:00
Otavio Salvador c5a9b5a6c3 bootstrap: add support to include and exclude packages
To allow better customization of resulting system, support to include
and exclude packages of base system has been added. It has been
included for debootstrap and cdebootstrap helpers.
2007-10-08 10:14:24 +02:00
Otavio Salvador ec823a8c3c iso: move mini and minimal flavors assigment to a cannonical place 2007-10-08 10:14:13 +02:00
Otavio Salvador 33ad814b5a cdebootstrap: simplified code using case instead of if's so it's easier to read 2007-10-08 10:14:05 +02:00
Daniel Baumann de59430e16 Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>. 2007-10-04 22:08:31 +02:00
Otavio Salvador 66aee6f077 syslinux: fix module detection otherwise it won't be copied 2007-10-03 06:21:50 +02:00
Otavio Salvador 0ae32ca1b9 syslinux: fix memcheck path since it was using the wrong path 2007-10-03 06:21:36 +02:00
Daniel Baumann 1966587162 Fixing typing error, thanks to Jesse W. Hathaway <jesse@mbuki-mvuki.org>. 2007-09-28 18:32:12 +02:00
Daniel Baumann 07015787f6 Fixing typing error, thanks to Maarten ter Huurne <maarten.ter.huurne@philips.com>. 2007-09-27 21:26:29 +02:00
Ben Armstrong 662275be9c genext2fs: new switch name: --reserved-percentage; thanks, Zagiox 2007-09-26 12:47:49 +02:00
Otavio Salvador 80ffa22281 syslinux: split syslinux configuration in multiple files
Normal and menu templates share a lot of common stuff and then
a splited syslinux.cfg is much better to handle that.
2007-09-26 12:21:03 +02:00
Otavio Salvador 8fa8db6324 syslinux: always output MENU LABEL since they're ignored if menu.c32 isn't loaded
syslinux ignores MENU LABEL commands if there's no menu.c32 module
loaded and then we don't need about check it.
2007-09-25 20:21:04 +02:00
Otavio Salvador 90ffcda4b3 templates: move syslinux-menu to syslinux/menu
All files from syslinux-menu templates directory has been moved to
syslinux/menu. lh_binary_syslinux had some changes to work with that
but they were minimal ones.
2007-09-25 20:20:45 +02:00
Otavio Salvador 8049aeb024 syslinux: fix menu label usage for normal live boot 2007-09-25 18:24:30 +02:00
Otavio Salvador 52ab1c4b26 syslinux: defaults to english text if we lack the specified language 2007-09-25 07:35:48 +02:00
Otavio Salvador 4be7194a18 refactoring: simplified if/else case since the list of supported arch were too long 2007-09-25 07:35:39 +02:00