Commit Graph

648 Commits

Author SHA1 Message Date
Chris Lamb 8f0b9e3746 Install loop-aes-utils if we are using encryption.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-20 10:17:38 +01:00
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
Chris Lamb d4f92859a1 Support expanding wildcards in udeb excludes.
This was preventing "kernel-image-*" "exclude" entries from removing these
packages. This saves about 5 MiB of space in all.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17 07:10:07 +01:00
Chris Lamb 4a1a00e1d4 Remove automatically installed packages when installing helpers.
This was causing a bug where "grub-common"--a dependency of grub--was remaining
in the binary build chroot after the grub tool was removed. This then resulted
in it not being included in the d-i debs in lh_binary_debian-installer.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17 07:06:44 +01:00
Chris Lamb 8cbf66d930 Remove pointless whitespace.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17 05:58:43 +01:00
Chris Lamb aad198ffaf Only install unionfs-tools under Etch in rescue list. 2008-08-17 00:35:13 +01:00
Chris Lamb e11175ed2c Correct logic in LH_BOOTAPPEND_INSTALL handling
(LH_BOOTAPPEND_INSTALL was being overridden if a preseed.cfg was found.)
2008-08-16 11:30:48 +01:00
Chris Lamb 0a5065a817 Removing surrounded braces from LH_BOOTAPPEND_INSTALL - it is expanded by sed, not the shell. 2008-08-16 10:48:16 +01:00
Chris Lamb 712360df91 Correcting typo LH_BOOTSTRAP_INSTALL -> LH_BOOTAPPEND_INSTALL in Grub kernel parameters. 2008-08-16 10:43:47 +01:00
Chris Lamb 1212aafb8a Correct bogus path for d-i preseed files. 2008-08-16 10:12:27 +01:00
Chris Lamb f81d94ffa4 Don't install lists from chroot_local-packageslists without them being specified in LH_PACKAGES_LISTS (Closes: #490755) 2008-08-16 02:23:41 +01:00
Daniel Baumann 5a5ee8d152 Preserve changed apt settings (pdiffs, recommends, and secure) in binary image (Closes: #494640). 2008-08-16 03:15:40 +02:00
Chris Lamb bdc4ff6457 Don't use interpolation to print usage and help as it breaks newlines and tabs.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-15 23:08:43 +01:00
Chris Lamb 6ca117018e Remove accidental trailing '"' (quote) package from lh_config usage.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-15 23:07:51 +01:00
Daniel Baumann be2bb3701f Updating chroot hacks to reflect namechange of the udev persistent rules. 2008-08-15 23:19:33 +02:00
Daniel Baumann aeb48a17be Correcting typo in win32-loader config. 2008-08-15 06:04:11 +02:00
Daniel Baumann 5e93225816 Correcting win32-loader default values. 2008-08-15 06:03:05 +02:00
Tiago Bortoletto Vaz b069a5053b Making help.sh and version.sh messages translatable. 2008-08-14 21:50:58 +02:00
Tiago Bortoletto Vaz 985ad93f4a Making lh_chroot_interactive and lh_source_usb-hdd messages translatable. 2008-08-14 21:50:37 +02:00
Tiago Bortoletto Vaz 887bc98bcb Making lh_binary_usb-hdd messages translatable. 2008-08-14 21:48:51 +02:00
Tiago Bortoletto Vaz 2ede4f2f62 Making usage.sh messages translatable. 2008-08-14 21:46:19 +02:00
Daniel Baumann c316f6cdbd Moving win32-loader inclusion support from external hook into main program (Closes: #476546). 2008-08-14 21:33:56 +02:00
Daniel Baumann 5977735ed1 Adding generic echo function. 2008-08-14 20:25:29 +02:00
Daniel Baumann 8299a9c361 Removing currently unused help message in lh_config. 2008-08-14 20:24:25 +02:00
Daniel Baumann 0a8325d4c3 Sorting authors file. 2008-08-14 17:51:29 +02:00
Daniel Baumann 837c7d31fa Removing superfluous echo type from echo call. 2008-08-14 05:50:48 +02:00
Daniel Baumann f5d6f587e2 Correcting escaping of $VERSION in LH_ISO_PREPARER defaults. 2008-08-14 05:46:01 +02:00
Chris Lamb c2356c4184 Tidy "install" / "install-binary" handling in lh_chroot_apt.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb 252ee4f32c Add informational comments to generated /etc/apt/preferences stanzas.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb 266165bbe6 Generate Release file for chroot_local-packages when APT_SECURE is disabled.
This was preventing the pinning mechanism to work when it security was
disabled.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb bdd2f385c4 Prevent (harmless) duplicate entries appearing in /etc/apt/preferences
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:23 +02:00
Chris Lamb 8004d56ce3 Remove gettext from Build-Depends (it's already in Build-Depends-Indep). 2008-08-14 05:44:23 +02:00
Daniel Baumann 70554370d2 Updating po files. 2008-08-14 05:44:23 +02:00
Chris Lamb 8ce28f6311 Correcting aesthetic typo "proces" -> "process". 2008-08-14 05:44:23 +02:00
Chris Lamb e17a9c057c Add leading space to prevent unnecessary diff when running lh_config repeatedly. 2008-08-14 05:44:22 +02:00
Chris Lamb cf35e04305 Rename internal LH_BOOTAPPEND_PRESEED variable to _LH_BOOTAPPEND_PRESEED 2008-08-14 05:44:22 +02:00
Daniel Baumann 00940ee4b7 Updating po files. 2008-08-14 05:44:22 +02:00
Daniel Baumann be19b07694 Replacing remaining echo calls with proper echo functions. 2008-08-14 05:44:22 +02:00
Daniel Baumann fb8ad53f18 Don't expand version in default configuration, but rather use it dynamically. 2008-08-14 05:44:22 +02:00
Daniel Baumann 0148591cbd Moving live-helper defaults file for cron autobuilder from /etc/default/live-helper to /etc/default/live-helper_autobuild in order to not conflict with the system-wide default file for helper configuration. 2008-08-14 05:44:22 +02:00
Tiago Bortoletto Vaz efe08ed925 Supporting remote preseeding files. 2008-08-14 05:44:22 +02:00
Tiago Bortoletto Vaz 2585f5591e Also allowing multiple preseeding files for netboot. 2008-08-14 05:44:22 +02:00
Daniel Baumann 2fb67cb362 Adding guessing of the preseeding filename, and way to manually overwrite it (or select it in case of multiple available preseeding files). 2008-08-14 05:44:22 +02:00
Tiago Bortoletto Vaz 35029d8c67 Allowing to use more than one preseeding file to be on the media. 2008-08-14 05:44:22 +02:00
Chris Lamb 029e62306b Ensure the binary image does not inherit the binary stage's APT settings. 2008-08-14 05:44:21 +02:00
Daniel Baumann 92d14dcccf Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected. 2008-08-14 05:44:21 +02:00
Daniel Baumann 669ce118df Using $HOST rather than $HOSTNAME to avoid false positive in checkbashisms. 2008-08-14 05:44:21 +02:00
Daniel Baumann 6a4a424d09 Using signal names rather than signal numbers in trap calls. 2008-08-14 05:44:21 +02:00
Chris Lamb d22dde7e47 Always create stagefile for chroot_install-packages and require it for lh_source
This is required as lh_source will generate an incomplete source tarball if
only the bootstrap phase has been completed.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:21 +02:00
Chris Lamb 9ffd1c7c23 Correct indentation of conditional code.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:21 +02:00