Commit Graph

264 Commits

Author SHA1 Message Date
Daniel Baumann 51cfe60fc6 Using shell redirection to truncate rather than additional commands/forks/files, thanks to Justin Pryzby <jpryzby@quoininc.com>. 2007-11-10 15:40:53 +01:00
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
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
Otavio Salvador a0669384f1 add new options to allow support for syslinux with vesa menu
A set of new options has been add to allow the syslinux vesa menu
support to be added. Those are the new options:

 - LH_SYSLINUX_CFG: set custom syslinux configuration file
 - LH_SYSLINUX_MENU: set syslinux menu
 - LH_SYSLINUX_MENU_LIVE_ENTRY: set text to be used on the menu for
   live entries
 - LH_SYSLINUX_MENU_LIVE_FAILSAFE_ENTRY: set text to be used on the
   menu for live entries (failsafe ones)
 - LH_SYSLINUX_MENU_MEMTEST_ENTRY: set text to be used on the menu
   for memtest entry
2007-09-23 17:23:35 +02:00
Daniel Baumann c4bb536877 Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>. 2007-09-23 14:05:14 +02:00
Daniel Baumann a019b98615 Respecting LH_QUIET for wget calls, thanks to Justin Pryzby <pryzbyj@justinpryzby.com>. 2007-09-23 14:05:14 +02:00
Daniel Baumann 09faf3f24b Handling case when memtest is disabled. 2007-09-23 14:05:14 +02:00
Daniel Baumann f3706cd7f2 Adding check for 'none', not just 'disabled'. 2007-09-23 14:05:14 +02:00
Daniel Baumann 793f620b2d Restoring file permissions. 2007-09-23 14:05:14 +02:00
Daniel Baumann 4b52adb6f7 Adding local udeb_exclude file functionality. 2007-09-23 14:05:14 +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 5e759644a4 Passing live bootappends to debian-installer. 2007-09-23 14:05:13 +02:00
Daniel Baumann f6d46179df Making binary hooks executable in case the are not. 2007-09-23 14:05:12 +02:00
Daniel Baumann f36f7d499a Do not remove pkgsel anymore. 2007-09-23 14:05:12 +02:00
Daniel Baumann 2b817e2b89 Fixed wrong sed call. 2007-09-23 14:05:12 +02:00
Daniel Baumann 1db91d83b0 Do not create symlinks on usb-hdd images. 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
Daniel Baumann 26961cb572 Making local udebs/local debs architecture aware. 2007-09-23 14:05:11 +02:00
Daniel Baumann 20aad4c211 Removing both required local and d-i udebs when using live-installer. 2007-09-23 14:05:11 +02:00
Daniel Baumann c338316ee2 Added forgotten path to bootstrap-base removal. 2007-09-23 14:05:11 +02:00
Daniel Baumann 789677ab83 Simplifying debian-installer download. 2007-09-23 14:05:11 +02:00
Daniel Baumann 0e4a03132a Adding support for live-installer. 2007-09-23 14:05:10 +02:00
Daniel Baumann 3fddecbe0e Supporting localized syslinux templates based on LH_LANGUAGE. 2007-09-23 14:02:56 +02:00
Daniel Baumann 1956c132a8 Adding forgotten cp call. 2007-09-23 13:59:20 +02:00
Daniel Baumann 23c269f3af Simplyfing LH_BASE calls. 2007-09-23 13:59:19 +02:00
Daniel Baumann 16b85ffe14 Using udeb_include files from debian-cd. 2007-09-23 13:59:19 +02:00
Daniel Baumann e9ed48833f Using Debian terminology for images of unreleased suites. 2007-09-23 13:59:19 +02:00
Daniel Baumann 6c45ff0870 Setting debian-installer default flavour to netinst. 2007-09-23 13:59:19 +02:00
Daniel Baumann 04f8e669b4 Adding forgotten handling of default case. 2007-09-23 13:59:18 +02:00
Daniel Baumann e871d8d6a7 Adding live-helper 1.0~a27-1. 2007-09-23 10:05:21 +02:00
Daniel Baumann c7f53a9af5 Adding live-helper 1.0~a26-1. 2007-09-23 10:05:20 +02:00
Daniel Baumann cac98503f3 Adding live-helper 1.0~a25-1. 2007-09-23 10:05:19 +02:00
Daniel Baumann 1e10fc3a45 Adding live-helper 1.0~a24-1. 2007-09-23 10:05:18 +02:00
Daniel Baumann 403452b08b Adding live-helper 1.0~a23-1. 2007-09-23 10:05:18 +02:00
Daniel Baumann fdd30ecebf Adding live-helper 1.0~a22-1. 2007-09-23 10:05:17 +02:00
Daniel Baumann c026e68cd0 Adding live-helper 1.0~a21-1. 2007-09-23 10:05:16 +02:00
Daniel Baumann 1803c47164 Adding live-helper 1.0~a20-1. 2007-09-23 10:05:16 +02:00
Daniel Baumann 9a280c0dc1 Adding live-helper 1.0~a19-1. 2007-09-23 10:05:15 +02:00
Daniel Baumann 615360e7ad Adding live-helper 1.0~a18-1. 2007-09-23 10:05:14 +02:00
Daniel Baumann ae5c245c5d Adding live-helper 1.0~a17-1. 2007-09-23 10:05:13 +02:00
Daniel Baumann b88a20b5dd Adding live-helper 1.0~a16-1. 2007-09-23 10:05:12 +02:00
Daniel Baumann ce2db1b609 Adding live-helper 1.0~a15-1. 2007-09-23 10:05:12 +02:00
Daniel Baumann 12763194d0 Adding live-helper 1.0~a14-1. 2007-09-23 10:05:11 +02:00
Daniel Baumann 0ffe6970c4 Adding live-helper 1.0~a13-1. 2007-09-23 10:05:11 +02:00
Daniel Baumann 275767bf2f Adding live-helper 1.0~a12-1. 2007-09-23 10:05:10 +02:00
Daniel Baumann 2d176937dd Adding live-helper 1.0~a11-1. 2007-09-23 10:05:09 +02:00
Daniel Baumann f0712b2f79 Adding live-helper 1.0~a10-1. 2007-09-23 10:05:09 +02:00
Daniel Baumann afe37cce93 Adding live-helper 1.0~a9-1. 2007-09-23 10:04:52 +02:00
Daniel Baumann dfd9c85cd9 Adding live-helper 1.0~a8-1. 2007-09-23 10:04:52 +02:00
Daniel Baumann 3de3c99147 Adding live-helper 1.0~a7-1. 2007-09-23 10:04:51 +02:00
Daniel Baumann 2230835b69 Adding live-helper 1.0~a6-1. 2007-09-23 10:04:50 +02:00
Daniel Baumann bf396ae4b8 Adding live-helper 1.0~a5-1. 2007-09-23 10:04:49 +02:00
Daniel Baumann 8762edaa61 Adding live-helper 1.0~a4-1. 2007-09-23 10:04:49 +02:00
Daniel Baumann 544384c28f Adding live-helper 1.0~a3-1. 2007-09-23 10:04:48 +02:00
Daniel Baumann f4383da69d Adding live-helper 1.0~a2-1. 2007-09-23 10:04:47 +02:00
Daniel Baumann 3465a2139f Adding live-helper 1.0~a1-3. 2007-09-23 10:04:47 +02:00
Daniel Baumann f6a05f356e Adding live-helper 1.0~a1-2. 2007-09-23 10:04:46 +02:00
Daniel Baumann 2b43599e46 Adding live-helper 1.0~a1-1. 2007-09-23 10:04:46 +02:00
Daniel Baumann 470cf1764b Adding live-package 0.99.26-1. 2007-09-23 10:04:42 +02:00
Daniel Baumann fdfcd0ff29 Adding live-package 0.99.25-1. 2007-09-23 10:04:41 +02:00
Daniel Baumann 9be72d4e69 Adding live-package 0.99.24-1. 2007-09-23 10:04:41 +02:00
Daniel Baumann cee1de85c8 Adding live-package 0.99.23-1. 2007-09-23 10:04:41 +02:00
Daniel Baumann 6f5e2da03e Adding live-package 0.99.22-1. 2007-09-23 10:04:40 +02:00