Chris Lamb [Wed, 20 Aug 2008 09:17:38 +0000 (10:17 +0100)]
Install loop-aes-utils if we are using encryption.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 18 Aug 2008 03:44:06 +0000 (04:44 +0100)]
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>
Chris Lamb [Sun, 17 Aug 2008 06:06:13 +0000 (07:06 +0100)]
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>
Chris Lamb [Sun, 17 Aug 2008 04:58:59 +0000 (05:58 +0100)]
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>
Chris Lamb [Sun, 17 Aug 2008 04:58:43 +0000 (05:58 +0100)]
Remove pointless whitespace.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sat, 16 Aug 2008 23:35:13 +0000 (00:35 +0100)]
Only install unionfs-tools under Etch in rescue list.
Chris Lamb [Sat, 16 Aug 2008 10:30:48 +0000 (11:30 +0100)]
Correct logic in LH_BOOTAPPEND_INSTALL handling
(LH_BOOTAPPEND_INSTALL was being overridden if a preseed.cfg was found.)
Chris Lamb [Sat, 16 Aug 2008 09:48:16 +0000 (10:48 +0100)]
Removing surrounded braces from LH_BOOTAPPEND_INSTALL - it is expanded by sed, not the shell.
Chris Lamb [Sat, 16 Aug 2008 09:43:47 +0000 (10:43 +0100)]
Correcting typo LH_BOOTSTRAP_INSTALL -> LH_BOOTAPPEND_INSTALL in Grub kernel parameters.
Chris Lamb [Sat, 16 Aug 2008 09:12:27 +0000 (10:12 +0100)]
Correct bogus path for d-i preseed files.
Chris Lamb [Sat, 16 Aug 2008 00:37:31 +0000 (01:37 +0100)]
Don't install lists from chroot_local-packageslists without them being specified in LH_PACKAGES_LISTS (Closes: #490755)
Daniel Baumann [Sat, 16 Aug 2008 01:15:40 +0000 (03:15 +0200)]
Preserve changed apt settings (pdiffs, recommends, and secure) in binary image (Closes: #494640).
Chris Lamb [Fri, 15 Aug 2008 22:08:43 +0000 (23:08 +0100)]
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>
Chris Lamb [Fri, 15 Aug 2008 22:07:51 +0000 (23:07 +0100)]
Remove accidental trailing '"' (quote) package from lh_config usage.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Daniel Baumann [Fri, 15 Aug 2008 21:19:33 +0000 (23:19 +0200)]
Updating chroot hacks to reflect namechange of the udev persistent rules.
Daniel Baumann [Fri, 15 Aug 2008 04:04:11 +0000 (06:04 +0200)]
Correcting typo in win32-loader config.
Daniel Baumann [Fri, 15 Aug 2008 04:03:05 +0000 (06:03 +0200)]
Correcting win32-loader default values.
Tiago Bortoletto Vaz [Thu, 14 Aug 2008 18:24:11 +0000 (15:24 -0300)]
Making help.sh and version.sh messages translatable.
Tiago Bortoletto Vaz [Thu, 14 Aug 2008 18:08:09 +0000 (15:08 -0300)]
Making lh_chroot_interactive and lh_source_usb-hdd messages translatable.
Tiago Bortoletto Vaz [Thu, 14 Aug 2008 19:48:51 +0000 (21:48 +0200)]
Making lh_binary_usb-hdd messages translatable.
Tiago Bortoletto Vaz [Thu, 14 Aug 2008 19:46:19 +0000 (21:46 +0200)]
Making usage.sh messages translatable.
Daniel Baumann [Thu, 14 Aug 2008 19:33:56 +0000 (21:33 +0200)]
Moving win32-loader inclusion support from external hook into main program (Closes: #476546).
Daniel Baumann [Thu, 14 Aug 2008 18:25:29 +0000 (20:25 +0200)]
Adding generic echo function.
Daniel Baumann [Thu, 14 Aug 2008 18:24:25 +0000 (20:24 +0200)]
Removing currently unused help message in lh_config.
Daniel Baumann [Thu, 14 Aug 2008 15:51:29 +0000 (17:51 +0200)]
Sorting authors file.
Daniel Baumann [Thu, 14 Aug 2008 03:50:48 +0000 (05:50 +0200)]
Removing superfluous echo type from echo call.
Daniel Baumann [Thu, 14 Aug 2008 03:46:01 +0000 (05:46 +0200)]
Correcting escaping of $VERSION in LH_ISO_PREPARER defaults.
Chris Lamb [Thu, 14 Aug 2008 00:39:48 +0000 (01:39 +0100)]
Tidy "install" / "install-binary" handling in lh_chroot_apt.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 14 Aug 2008 00:39:21 +0000 (01:39 +0100)]
Add informational comments to generated /etc/apt/preferences stanzas.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 14 Aug 2008 00:39:03 +0000 (01:39 +0100)]
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>
Chris Lamb [Thu, 14 Aug 2008 00:38:24 +0000 (01:38 +0100)]
Prevent (harmless) duplicate entries appearing in /etc/apt/preferences
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Wed, 13 Aug 2008 21:18:44 +0000 (22:18 +0100)]
Remove gettext from Build-Depends (it's already in Build-Depends-Indep).
Daniel Baumann [Wed, 13 Aug 2008 03:10:18 +0000 (05:10 +0200)]
Updating po files.
Chris Lamb [Tue, 12 Aug 2008 21:29:14 +0000 (22:29 +0100)]
Correcting aesthetic typo "proces" -> "process".
Chris Lamb [Tue, 12 Aug 2008 21:27:17 +0000 (22:27 +0100)]
Add leading space to prevent unnecessary diff when running lh_config repeatedly.
Chris Lamb [Tue, 12 Aug 2008 21:26:38 +0000 (22:26 +0100)]
Rename internal LH_BOOTAPPEND_PRESEED variable to _LH_BOOTAPPEND_PRESEED
Daniel Baumann [Tue, 12 Aug 2008 20:39:52 +0000 (22:39 +0200)]
Updating po files.
Daniel Baumann [Tue, 12 Aug 2008 20:36:48 +0000 (22:36 +0200)]
Replacing remaining echo calls with proper echo functions.
Daniel Baumann [Tue, 12 Aug 2008 20:26:10 +0000 (22:26 +0200)]
Don't expand version in default configuration, but rather use it dynamically.
Daniel Baumann [Tue, 12 Aug 2008 20:25:32 +0000 (22:25 +0200)]
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.
Tiago Bortoletto Vaz [Tue, 12 Aug 2008 20:21:40 +0000 (22:21 +0200)]
Supporting remote preseeding files.
Tiago Bortoletto Vaz [Tue, 12 Aug 2008 20:11:18 +0000 (22:11 +0200)]
Also allowing multiple preseeding files for netboot.
Daniel Baumann [Tue, 12 Aug 2008 20:04:25 +0000 (22:04 +0200)]
Adding guessing of the preseeding filename, and way to manually overwrite it (or select it in case of multiple available preseeding files).
Tiago Bortoletto Vaz [Tue, 12 Aug 2008 20:00:20 +0000 (22:00 +0200)]
Allowing to use more than one preseeding file to be on the media.
Chris Lamb [Tue, 12 Aug 2008 18:17:39 +0000 (19:17 +0100)]
Ensure the binary image does not inherit the binary stage's APT settings.
Daniel Baumann [Tue, 12 Aug 2008 14:28:37 +0000 (16:28 +0200)]
Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected.
Daniel Baumann [Tue, 12 Aug 2008 14:30:41 +0000 (16:30 +0200)]
Using $HOST rather than $HOSTNAME to avoid false positive in checkbashisms.
Daniel Baumann [Tue, 12 Aug 2008 14:20:35 +0000 (16:20 +0200)]
Using signal names rather than signal numbers in trap calls.
Chris Lamb [Tue, 12 Aug 2008 05:44:21 +0000 (06:44 +0100)]
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>
Chris Lamb [Tue, 12 Aug 2008 05:06:48 +0000 (06:06 +0100)]
Correct indentation of conditional code.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Tue, 12 Aug 2008 05:06:34 +0000 (06:06 +0100)]
Clean source.list instead of binary.list when calling lh_clean --source.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Tue, 12 Aug 2008 01:24:09 +0000 (02:24 +0100)]
Move gettext to Build-Depends-Indep.
Tiago Bortoletto Vaz [Mon, 11 Aug 2008 20:28:54 +0000 (22:28 +0200)]
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.
Chris Lamb [Mon, 11 Aug 2008 00:50:44 +0000 (01:50 +0100)]
Add busybox to DI_PACKAGES as its required to install kernels.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 11 Aug 2008 00:27:32 +0000 (01:27 +0100)]
Choose correct d-i install method for "live" and usb-hdd/tar image types.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 11 Aug 2008 00:13:45 +0000 (01:13 +0100)]
Don't duplicate .debs of packages in binary/pool that are installed via live-installer.
This saves about 80MiB of space when building LH_DEBIAN_INSTALLER="live".
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 22:03:11 +0000 (23:03 +0100)]
Create pool/main to prevent build failure when no local .debs are queued for installation.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 22:02:01 +0000 (23:02 +0100)]
Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 22:00:03 +0000 (23:00 +0100)]
Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 19:13:33 +0000 (20:13 +0100)]
Fix "lh_config -c". Thanks to Simon Schiele <lists@codingmonkey.de>.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Tiago Bortoletto Vaz [Sun, 10 Aug 2008 15:39:06 +0000 (17:39 +0200)]
Adding the basic infrastructure to provide l10n support for live-helper.
Chris Lamb [Sun, 10 Aug 2008 06:22:19 +0000 (07:22 +0100)]
Remove --debian-installer-daily from getopt call.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 06:21:32 +0000 (07:21 +0100)]
Update lh_config(1) to match status of LH_DEBIAN_INSTALLER_{DAILY,DISTRIBUTION}.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 06:03:27 +0000 (07:03 +0100)]
Fix a bug in chroot_local-packages where packages were upgraded with themselves during lh_binary stages.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 06:02:33 +0000 (07:02 +0100)]
Fix bug in LH_DEBIAN_INSTALLER_DISTRIBUTION = "daily" handling.
Was causing build failures as it was trying to download files from a
"daily" component of a mirror.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Sun, 10 Aug 2008 06:01:11 +0000 (07:01 +0100)]
Disabling call to "update-initramfs" in lh_chroot_hacks.
Users who are modifying initramfs scripts via chroot_local-includes
should really run update-initramfs themselves - this wasn't possible until
fairly recently due to re-ordering of calls from lh_chroot.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Daniel Baumann [Sun, 10 Aug 2008 02:29:40 +0000 (04:29 +0200)]
Merging debian-installer-daily option into debian-installer-distribution.
Tiago Bortoletto Vaz [Sun, 10 Aug 2008 00:46:52 +0000 (21:46 -0300)]
Minor typo fix for encryption parameter in lh_config help message.
Tiago Bortoletto Vaz [Sun, 10 Aug 2008 00:38:06 +0000 (21:38 -0300)]
Suporting debian-installer distribution choice, which makes possible to build a image using a system-independent debian-installer suite. The config option for this is --debian-installer-distribution CODENAME.
Daniel Baumann [Sun, 10 Aug 2008 01:43:39 +0000 (03:43 +0200)]
Bumping version number to 1.0.0.
Daniel Baumann [Sun, 10 Aug 2008 01:14:11 +0000 (03:14 +0200)]
Updating credits file.
Tiago Bortoletto Vaz [Sat, 9 Aug 2008 00:04:50 +0000 (21:04 -0300)]
Adding missing debian-installer options in lh_config --help message.
Antonio Terceiro [Sat, 9 Aug 2008 01:21:56 +0000 (22:21 -0300)]
Sorting functions alphabetically.
Antonio Terceiro [Sat, 9 Aug 2008 01:20:56 +0000 (22:20 -0300)]
Replacing file checking with ls by function calls
Instead of repeatedly doing "ls ... > /dev/null 2>&1", just use a
function that does exactly that.
Chris Lamb [Fri, 8 Aug 2008 20:16:42 +0000 (21:16 +0100)]
Always add our apt_preference(5) pinning stanza when using local-packages.
This mostly reverts my most recent chroot_local-packages/preferences commit
as I found problems when re-running parts of the build: as the pinning
stanza was removed, calls to "apt-get upgrade" from within live-helper
would remove replacement packages placed in chroot_local-packages.
This isn't 100% foolproof - running apt-get upgrade on the binary image may
still attempt to remove replacement packages (heavy users of this should
probably be using their own repo for this sort of thing anyway).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Frederic Daniel Luc Lehobey [Thu, 7 Aug 2008 21:15:53 +0000 (23:15 +0200)]
Added po4a support for manpages. Use case: 'make po4a'.
Chris Lamb [Thu, 7 Aug 2008 21:05:08 +0000 (22:05 +0100)]
Ensure packages in config/chroot_local-packages override all others.
This reverts config/chroot_local-packages to almost original semantics by
giving any package in chroot_local-packages a priority of 1001, allowing
it to "downgrade" packages and generally override the standard APT sources.
I think this follows the idea of this directory more and is likely to be
more useful with this setup - rebuilding a package simply to bump a version
number or keeping a custom apt_preferences(5) file around kinda sucks,
especially as it is often used as a temporary workaround.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 19:08:04 +0000 (20:08 +0100)]
Test whether to use hard-links when caching d-i downloads.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 19:06:39 +0000 (20:06 +0100)]
Print a warning when package caching is disabled but d-i integration is enabled.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 19:05:31 +0000 (20:05 +0100)]
Don't install Recommends of d-i packages.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 19:04:47 +0000 (20:04 +0100)]
Call "Check_defaults" in lh_build.
This ensures that incompatible configurations that are created by editing
files in config/ are detected when building the image via lh_build.
This also has the side-effect of ensuring that configuration warnings (if
any) appear for live-magic.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 18:24:04 +0000 (19:24 +0100)]
Print nicer error message when bootstrap missing from LH_CACHE_STAGES.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 18:18:43 +0000 (19:18 +0100)]
Remove 'E:' prefix in call to Echo_error - it gets added later too.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 7 Aug 2008 18:08:06 +0000 (19:08 +0100)]
Don't attempt install deprecated helpers/make-live.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Daniel Baumann [Thu, 7 Aug 2008 17:45:24 +0000 (19:45 +0200)]
Only using hardlinks for local-packages when hardlinks are possible.
Daniel Baumann [Thu, 7 Aug 2008 17:39:45 +0000 (19:39 +0200)]
Removing make-live legacy helper.
Daniel Baumann [Thu, 7 Aug 2008 17:38:39 +0000 (19:38 +0200)]
Updating debian release information.
Daniel Baumann [Thu, 7 Aug 2008 15:57:28 +0000 (17:57 +0200)]
Making check for local-patches silent.
Daniel Baumann [Wed, 6 Aug 2008 21:28:27 +0000 (23:28 +0200)]
Making check for local-includes silent.
Marco Amadori [Wed, 6 Aug 2008 21:03:54 +0000 (23:03 +0200)]
Removing evms from rescue list, package got removed from debian.
Tiago Bortoletto Vaz [Wed, 6 Aug 2008 21:01:47 +0000 (23:01 +0200)]
Improving message when using default values in /etc/default/live-helper.
Chris Lamb [Thu, 31 Jul 2008 16:12:06 +0000 (17:12 +0100)]
Add lh_chroot_local-patches helper to apply local patches against chroot.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 28 Jul 2008 23:48:31 +0000 (00:48 +0100)]
Don't duplicate gtk and non-gtk kernels if they are identical.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 25 Jul 2008 23:27:29 +0000 (00:27 +0100)]
Fix cache poisoning issue in lh_binary_debian-installer with 404 downloads
When wget 404's, an target file is created - this poisons the cache as the
file is apparently downloaded but in actuality is simply empty. We fix this
by unconditionally deleting the cache file if wget fails and emitting an
error.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Fri, 25 Jul 2008 23:21:25 +0000 (00:21 +0100)]
Don't attempt to use live-installer on Etch; it would simply result in no bootstrap method.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 24 Jul 2008 04:48:47 +0000 (05:48 +0100)]
Cache d-i kernel, initrd and mini.iso downloads (Closes: #492085)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Thu, 24 Jul 2008 03:42:59 +0000 (04:42 +0100)]
Wrap most calls to wget in lh_binary_debian-installer.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 21 Jul 2008 14:05:26 +0000 (15:05 +0100)]
Add system-config-printer as a replacement to gnome-cups-manager.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Chris Lamb [Mon, 21 Jul 2008 12:30:37 +0000 (13:30 +0100)]
Removed "gnome-cups-manager" from package lists as it has been removed from Lenny due to being obsolete. (Closes: #491695)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Daniel Baumann [Tue, 15 Jul 2008 07:33:27 +0000 (09:33 +0200)]
Using rfc2606 invalid tld instead of dummy.