Commit Graph

623 Commits

Author SHA1 Message Date
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
Chris Lamb
ee81905f8e Clean source.list instead of binary.list when calling lh_clean --source.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-14 05:44:21 +02:00
Chris Lamb
ef0ba0c3ee Move gettext to Build-Depends-Indep. 2008-08-14 05:44:21 +02: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
4222ce31d4 Add busybox to DI_PACKAGES as its required to install kernels.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11 01:50:44 +01:00
Chris Lamb
12fae93f2b Choose correct d-i install method for "live" and usb-hdd/tar image types.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11 01:27:32 +01:00
Chris Lamb
cf3c659a95 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>
2008-08-11 01:13:45 +01:00
Chris Lamb
ebc302e121 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>
2008-08-10 23:03:11 +01:00
Chris Lamb
821e289e24 Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 23:02:01 +01:00
Chris Lamb
856d069cf3 Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 23:00:03 +01:00
Chris Lamb
ca49c9825a Fix "lh_config -c". Thanks to Simon Schiele <lists@codingmonkey.de>.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 20:17:44 +01:00
Tiago Bortoletto Vaz
4f77a42dcf Adding the basic infrastructure to provide l10n support for live-helper. 2008-08-10 17:39:06 +02:00
Chris Lamb
016ecd409e Remove --debian-installer-daily from getopt call.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:22:19 +01:00
Chris Lamb
32136b7f11 Update lh_config(1) to match status of LH_DEBIAN_INSTALLER_{DAILY,DISTRIBUTION}.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10 07:21:32 +01:00
Chris Lamb
f7da00a816 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>
2008-08-10 07:03:27 +01:00
Chris Lamb
14d1191d90 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>
2008-08-10 07:02:33 +01:00
Chris Lamb
6ed6f6a172 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>
2008-08-10 07:01:11 +01:00
Daniel Baumann
e74a26afdb Merging debian-installer-daily option into debian-installer-distribution. 2008-08-10 04:29:40 +02:00
Tiago Bortoletto Vaz
6bb9881da9 Minor typo fix for encryption parameter in lh_config help message. 2008-08-10 04:12:37 +02:00
Tiago Bortoletto Vaz
1b7da55dbe 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. 2008-08-10 04:12:32 +02:00
Daniel Baumann
591ec2a92a Bumping version number to 1.0.0. 2008-08-10 03:43:39 +02:00
Daniel Baumann
32fdda46b1 Updating credits file. 2008-08-10 03:14:11 +02:00
Tiago Bortoletto Vaz
f976c384fe Adding missing debian-installer options in lh_config --help message. 2008-08-09 03:28:06 +02:00
Antonio Terceiro
4d4f4dd8d5 Sorting functions alphabetically. 2008-08-09 03:27:57 +02:00
Antonio Terceiro
268c0dd538 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.
2008-08-09 03:27:52 +02:00
Chris Lamb
a3277ebaae 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>
2008-08-08 21:28:52 +01:00