Commit Graph

72 Commits

Author SHA1 Message Date
Chris Lamb e090ac8ad5 Set DEBCONF_FRONTEND=newt for non-GTK d-i instead of seperate initrd.
This saves approximately 7MB when integrating the Debian Installer.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-18 04:44:06 +01:00
Tiago Bortoletto Vaz a5f1ed5528 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. 2008-08-11 22:28:54 +02:00
Chris Lamb 3199a409fa Don't duplicate gtk and non-gtk kernels if they are identical.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-29 00:48:31 +01:00
Chris Lamb daec955a09 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.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 19:49:16 +01:00
Chris Lamb 6143328e16 Remove more imported whitespaces.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 18:56:11 +01:00
Chris Lamb 250529183f Replace a few unweildy "if" statements with their "case" equivalents
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:35:11 +01:00
Chris Lamb 9e272993cc 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

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 03:34:21 +01:00
Daniel Baumann 07a3c54d46 Using new Read_conffile(); now. 2008-04-07 12:10:21 +02:00
Daniel Baumann e79e733e49 Adding 'all' configuration file. 2008-04-07 11:58:50 +02:00
Chris Lamb 1ca0b58aac Allow LH_ENCRYPTION="disabled" to disable encryption
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-23 04:21:47 +00:00
Daniel Baumann a955c29e10 Fixing wrong debian-installer auto target configuration. 2008-03-09 13:34:41 +01:00
Daniel Baumann 92a0b19dc8 Re-adding quiet on all d-i install targets in post-etch, except expert (and keeping Chris fixed quiet handling). 2008-03-09 09:58:44 +01:00
Chris Lamb 206f3b3f21 Don't append 'quiet' kernel parameter in rescue modes
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-09 09:56:19 +01:00
Chris Lamb 8a19cbfff1 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.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-09 09:56:10 +01:00
Daniel Baumann ab336ba97e Updating copyright years to 2008. 2008-03-06 16:43:00 +01:00
Daniel Baumann 5ce8ab768b Fixing typo in sed call to set isolinux splash file. 2008-02-29 12:47:03 +01:00
Daniel Baumann 948730f93a Consistently using the pipe as seperator in sed commands now. 2008-01-15 08:25:29 +01:00
Daniel Baumann e743c23cd7 Fixing some coding style issues. 2007-11-13 13:49:41 +01:00
Daniel Baumann 8635931e79 Fixing some coding style issues. 2007-11-11 13:57:11 +01:00
Daniel Baumann 7cacae2d94 Renaming live-failsafe boot target to livefailsafe (Closes: #450576). 2007-11-10 15:23:27 +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
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
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
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
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
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 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 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
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
Daniel Baumann a03cfd36b8 Replacing backticks with POSIX expression. 2007-09-24 08:47:42 +02:00
Otavio Salvador 9377334c15 implements syslinux vesa menu support 2007-09-23 17:23:46 +02:00
Daniel Baumann fbae06c426 Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq <jp.lejacq@quoininc.com> (Closes: #443099). 2007-09-23 14:05:13 +02:00
Daniel Baumann 2b817e2b89 Fixed wrong sed call. 2007-09-23 14:05:12 +02:00
Daniel Baumann ed5bb2e187 Adding LH_BOOTAPPEND_INSTALL. 2007-09-23 14:05:12 +02:00
Daniel Baumann 851d21e474 Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE. 2007-09-23 14:05:11 +02:00