Commit Graph

72 Commits

Author SHA1 Message Date
Maximilian Gass 0c8232307d Only install memtest in lh_binary_syslinux if enabled. 2011-03-09 19:03:42 +01:00
Chris Lamb 80bcf4d3b7 Standardise on appending " (fail-safe mode)" for all bootloaders. 2011-03-09 19:03:41 +01:00
Tiago Bortoletto Vaz 6205a24620 Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff. 2011-03-09 19:03:38 +01:00
Chris Lamb 988db3ba49 Consolidate grep text searching predicates to use "grep -qs"
If this is deemed not portable enough in the future, it should be easy
enough to find/replace.
2011-03-09 19:03:35 +01:00
Chris Lamb 8474de1d65 Remove more imported whitespaces. 2011-03-09 19:03:35 +01:00
Chris Lamb 243ee8a6d3 Replace a few unweildy "if" statements with their "case" equivalents 2011-03-09 19:03:35 +01:00
Chris Lamb 0e8c38206d Fix a number of issues with Syslinux templates (Closes: #476204)
This fixes:

 * The ugly "toboot" and "to\nboot" problems
 * Mistitled F4 page
 * Ugly line-breaking of Debian Live URL
2011-03-09 19:03:32 +01:00
Daniel Baumann 26fc30d8eb Using new Read_conffile(); now. 2011-03-09 19:03:31 +01:00
Daniel Baumann c6b83b1fd3 Adding 'all' configuration file. 2011-03-09 19:03:31 +01:00
Chris Lamb 55472e6557 Allow LH_ENCRYPTION="disabled" to disable encryption 2011-03-09 19:03:29 +01:00
Daniel Baumann bacd270f71 Fixing wrong debian-installer auto target configuration. 2011-03-09 19:01:47 +01:00
Daniel Baumann ed5d8c3b69 Re-adding quiet on all d-i install targets in post-etch, except expert (and keeping Chris fixed quiet handling). 2011-03-09 19:01:46 +01:00
Chris Lamb df8e958021 Don't append 'quiet' kernel parameter in rescue modes 2011-03-09 19:01:44 +01:00
Chris Lamb f1cb2b0432 Ensure syslinux entry names match templates and standard d-i names
This patch alters the syslinux labels to follow the "expert" and
"expertgui" style in favour of "TextExpert" and "GUIExpert".

This makes the names match Live Helper's syslinux templates, as well as the
more typical d-i installations and numerious sources that claim that one
should "just type 'expert' at the syslinux prompt", etc.
2011-03-09 19:01:42 +01:00
Daniel Baumann c5a91189a0 Updating copyright years to 2008. 2011-03-09 19:01:41 +01:00
Daniel Baumann a74fb24d5e Fixing typo in sed call to set isolinux splash file. 2011-03-09 18:36:16 +01:00
Daniel Baumann 342d2870eb Consistently using the pipe as seperator in sed commands now. 2011-03-09 18:35:39 +01:00
Daniel Baumann de1e32df4c Fixing some coding style issues. 2011-03-09 18:22:29 +01:00
Daniel Baumann 532f4e281f Fixing some coding style issues. 2011-03-09 18:22:28 +01:00
Daniel Baumann 7fc3e5c0e4 Renaming live-failsafe boot target to livefailsafe (Closes: #450576). 2011-03-09 18:22:28 +01:00
Jesse Hathaway 86a090e029 fix isolinux when booting multiple kernel flavours 2011-03-09 18:22:28 +01:00
Jesse Hathaway 1652f58575 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.
2011-03-09 18:22:28 +01:00
Daniel Baumann 7db7ac2f61 Fixing indenting. 2011-03-09 18:22:28 +01:00
Jesse Hathaway 64333346c2 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.
2011-03-09 18:22:28 +01:00
Maarten ter Huurne 4046c781f8 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.
2011-03-09 18:22:28 +01:00
Jesse Hathaway a7491e1349 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.
2011-03-09 18:22:28 +01:00
Otavio Salvador f7f1d3befa lh_binary_syslinux: always put splash image as splash.{rle,png} to avoid filename issues 2011-03-09 18:22:27 +01:00
Otavio Salvador 8fc5ac96af lh_binary_syslinux: check for ${INITFS} and not ${LH_INITRAMFS} to detect wrong path 2011-03-09 18:22:27 +01:00
Jesse Hathaway e7d99b5116 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
2011-03-09 18:22:27 +01:00
Jesse Hathaway a40fb341ea readd support for booting etch via syslinux 2011-03-09 18:22:27 +01:00
Jesse Hathaway 1bea707a71 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
2011-03-09 18:22:27 +01:00
Daniel Baumann 57444bb38b Adding check to fail if a cross build is started (Closes: #444669, #444670). 2011-03-09 18:22:27 +01:00
Otavio Salvador 7bfb06e25a syslinux: fix usb-hdd templates coping 2011-03-09 18:22:27 +01:00
Otavio Salvador e1b10bc517 syslinux: properly change timeout and do not fail if help files do not exists 2011-03-09 18:22:27 +01:00
Otavio Salvador 96376fdadb syslinux: fix usb-hdd entries to use menu.cfg file 2011-03-09 18:22:27 +01:00
Otavio Salvador cda480d29c 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.
2011-03-09 18:22:27 +01:00
Otavio Salvador 0375c35762 syslinux: fix module detection otherwise it won't be copied 2011-03-09 18:22:27 +01:00
Otavio Salvador 3d7ef5654b syslinux: fix memcheck path since it was using the wrong path 2011-03-09 18:22:27 +01:00
Otavio Salvador 748c19a321 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.
2011-03-09 18:22:27 +01:00
Otavio Salvador 6944ddd54d 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.
2011-03-09 18:22:27 +01:00
Otavio Salvador 7f9d996f19 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.
2011-03-09 18:22:27 +01:00
Otavio Salvador fb925a4214 syslinux: fix menu label usage for normal live boot 2011-03-09 18:22:27 +01:00
Otavio Salvador b9effa31a0 syslinux: defaults to english text if we lack the specified language 2011-03-09 18:22:27 +01:00
Otavio Salvador ea8476d41a refactoring: simplified if/else case since the list of supported arch were too long 2011-03-09 18:22:27 +01:00
Daniel Baumann f2734daf0a Replacing backticks with POSIX expression. 2011-03-09 18:22:27 +01:00
Otavio Salvador 81a76d4adc implements syslinux vesa menu support 2011-03-09 18:22:27 +01:00
Daniel Baumann b88433933b Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq <jp.lejacq@quoininc.com> (Closes: #443099). 2011-03-09 18:22:27 +01:00
Daniel Baumann b6a1dd22a8 Fixed wrong sed call. 2011-03-09 18:22:26 +01:00
Daniel Baumann 8a99616e89 Adding LH_BOOTAPPEND_INSTALL. 2011-03-09 18:22:26 +01:00
Daniel Baumann 54ff9fc7b2 Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE. 2011-03-09 18:22:26 +01:00