Daniel Baumann
695d3eedee
Simplyfing architecture handling for d-i daily URLs.
2011-03-09 19:09:44 +01:00
Daniel Baumann
142228914f
Updating location of powerpc d-i daily images.
2011-03-09 19:09:44 +01:00
Cody A.W. Somerville
4afc571314
Adding lpia support.
2011-03-09 19:09:44 +01:00
Cody A.W. Somerville
39876e86b9
Do not fail build when greps to generate udeb exclusion list return no results or grepped files do not exist.
2011-03-09 19:09:44 +01:00
Daniel Baumann
cf28ec62c6
Updating first bunch of architectures to new location of d-i daily images.
2011-03-09 19:09:43 +01:00
Daniel Baumann
f73041f2f0
Adding initial support for virtual-hdd binary image type.
2011-03-09 19:09:42 +01:00
Daniel Baumann
989f26d87b
Updating year in copyright notices for 2009.
2011-03-09 19:09:40 +01:00
Daniel Baumann
9ce762a502
Using common function file to source shell includes.
2011-03-09 19:09:40 +01:00
Daniel Baumann
67a0daf671
Removing enforced installation of mawk in the chroot in lh_binary_debian-installer, mawk is priority required and therefore always there anyway. Additionally, this would unnecessarily blow up images that have gawk (or any other awk implementation) installed.
2011-03-09 19:09:40 +01:00
Daniel Baumann
a0d12dbf00
Actually doing apt-ftparchive operations in chroot as it was originally intended to be, otherwise apt-utils would be need to be a depends of live-helper.
2011-03-09 19:09:40 +01:00
Antonio Terceiro
8a477ac3a9
Translating the description of the helpers
2011-03-09 19:09:39 +01:00
Antonio Terceiro
2a3056e8a9
Don't break messages into parts; this make it impossible for translators
2011-03-09 19:09:39 +01:00
Marco Amadori
a796685a27
NEW: "binary_debian-installer-includes" config directory.
...
This add another "-includes" power to live-helper, just leave your full
path files there and they will end on the installer initrd. This is
mostly useful for hacking the installer images with themes, firmware and
new installation helpers.
"This doesn't handle the case where you want to remove files or
programmatically modify things" yet.
2011-03-09 19:03:45 +01:00
Daniel Baumann
cb0894b3b3
Generalizing internal LH_QUIET variable.
2011-03-09 19:03:43 +01:00
Daniel Baumann
3ff1c8050b
Generalizing internal LH_DEBUG variable.
2011-03-09 19:03:43 +01:00
Daniel Baumann
0eaf9e5122
Adding armel to architecture specific checks.
2011-03-09 19:03:43 +01:00
Daniel Baumann
1c1e7db6c4
Generalizing internal Chroot(); by requiring its first argument to be the chroot directory.
2011-03-09 19:03:43 +01:00
Daniel Baumann
6696b019fe
Renaming internal Read_conffile(); to Read_conffiles(); for consistency reasons.
2011-03-09 19:03:43 +01:00
Marco Amadori
4dc5ffe7f3
Ensure lh_binary_debian-installer includes local debs ( Closes : #502877 )
...
* fixed some path references to the "config" directory.
2011-03-09 19:03:43 +01:00
Daniel Baumann
6204dc0e6d
Enforcing lh_config to be run before lh_build, see also http://lists.debian.org/debian-live/2008/10/msg00102.html ( Closes : #500740 ).
2011-03-09 19:03:42 +01:00
Chris Lamb
a12a4b71fb
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.
2011-03-09 19:03:40 +01:00
Chris Lamb
b6a9ccaa08
Remove pointless whitespace.
2011-03-09 19:03:40 +01:00
Chris Lamb
6018c34eda
Correct bogus path for d-i preseed files.
2011-03-09 19:03:40 +01:00
Tiago Bortoletto Vaz
aa6204c8ae
Also allowing multiple preseeding files for netboot.
2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz
eae542daba
Allowing to use more than one preseeding file to be on the media.
2011-03-09 19:03:39 +01:00
Tiago Bortoletto Vaz
6205a24620
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.
2011-03-09 19:03:38 +01:00
Chris Lamb
c7bccbbf26
Add busybox to DI_PACKAGES as its required to install kernels.
2011-03-09 19:03:38 +01:00
Chris Lamb
aa9c076df9
Choose correct d-i install method for "live" and usb-hdd/tar image types.
2011-03-09 19:03:38 +01:00
Chris Lamb
974e737b62
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".
2011-03-09 19:03:38 +01:00
Chris Lamb
4dc5c74e05
Create pool/main to prevent build failure when no local .debs are queued for installation.
2011-03-09 19:03:38 +01:00
Chris Lamb
a1c4763a02
Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).
2011-03-09 19:03:38 +01:00
Chris Lamb
d6053a8103
Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).
2011-03-09 19:03:38 +01:00
Chris Lamb
74ef06a44e
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.
2011-03-09 19:03:38 +01:00
Daniel Baumann
ba25e433b5
Merging debian-installer-daily option into debian-installer-distribution.
2011-03-09 19:03:38 +01:00
Tiago Bortoletto Vaz
2acf049825
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.
2011-03-09 19:03:38 +01:00
Antonio Terceiro
7f1a4e4fc5
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.
2011-03-09 19:03:37 +01:00
Chris Lamb
6538fac66f
Test whether to use hard-links when caching d-i downloads.
2011-03-09 19:03:37 +01:00
Chris Lamb
38a545b3d1
Don't install Recommends of d-i packages.
2011-03-09 19:03:37 +01:00
Chris Lamb
bd4a6204bb
Print nicer error message when bootstrap missing from LH_CACHE_STAGES.
2011-03-09 19:03:37 +01:00
Chris Lamb
2da3bcef16
Remove 'E:' prefix in call to Echo_error - it gets added later too.
2011-03-09 19:03:37 +01:00
Chris Lamb
b9c6f0a083
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.
2011-03-09 19:03:37 +01:00
Chris Lamb
1b37572080
Don't attempt to use live-installer on Etch; it would simply result in no bootstrap method.
2011-03-09 19:03:37 +01:00
Chris Lamb
2a2668aef9
Cache d-i kernel, initrd and mini.iso downloads ( Closes : #492085 )
2011-03-09 19:03:37 +01:00
Chris Lamb
877603ae02
Wrap most calls to wget in lh_binary_debian-installer.
2011-03-09 19:03:37 +01:00
Chris Lamb
e4e77a0c91
Refactor d-i GTK image selection, ensuring the GTK installer is only chosen on the netboot variant when building on powerpc.
2011-03-09 19:03:36 +01:00
Chris Lamb
e7b0c3b78a
Only consider linux-image-2.6-prep powerpc kernel image on Etch.
2011-03-09 19:03:36 +01:00
Chris Lamb
19039961c8
Refactor remote d-i location handling and ensure correct locations for powerpc.
2011-03-09 19:03:36 +01:00
Chris Lamb
5f3168deb7
Revert aborting live d-i installation if minimal/stripped is selected and instead attempt to not break the chroot too much in this case
2011-03-09 19:03:35 +01:00
Chris Lamb
8474de1d65
Remove more imported whitespaces.
2011-03-09 19:03:35 +01:00
Daniel Baumann
444ef13a69
Removing imported whitespaces.
2011-03-09 19:03:35 +01:00