Tiago Bortoletto Vaz
2585f5591e
Also allowing multiple preseeding files for netboot.
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
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
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
Daniel Baumann
e74a26afdb
Merging debian-installer-daily option into debian-installer-distribution.
2008-08-10 04:29:40 +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
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
15ee6f0eae
Test whether to use hard-links when caching d-i downloads.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:48 +01:00
Chris Lamb
6f870a5be2
Don't install Recommends of d-i packages.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:48 +01:00
Chris Lamb
77498d336a
Print nicer error message when bootstrap missing from LH_CACHE_STAGES.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 20:10:45 +01:00
Chris Lamb
34d197833c
Remove 'E:' prefix in call to Echo_error - it gets added later too.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07 19:18:43 +01:00
Chris Lamb
2435bee4ac
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>
2008-07-26 00:27:29 +01:00
Chris Lamb
364ed4e362
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>
2008-07-26 00:21:25 +01:00
Chris Lamb
db756ce6c6
Cache d-i kernel, initrd and mini.iso downloads ( Closes : #492085 )
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-24 05:48:47 +01:00
Chris Lamb
1b0a6b7420
Wrap most calls to wget in lh_binary_debian-installer.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-24 05:47:08 +01:00
Chris Lamb
3feafc9a70
Refactor d-i GTK image selection, ensuring the GTK installer is only chosen on the netboot variant when building on powerpc.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:28:20 +01:00
Chris Lamb
6c11528829
Only consider linux-image-2.6-prep powerpc kernel image on Etch.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:26:35 +01:00
Chris Lamb
70925408b6
Refactor remote d-i location handling and ensure correct locations for powerpc.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04 22:25:47 +01:00
Chris Lamb
30bafdae57
Revert aborting live d-i installation if minimal/stripped is selected and instead attempt to not break the chroot too much in this case
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 19:03:10 +01:00
Chris Lamb
6143328e16
Remove more imported whitespaces.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19 18:56:11 +01:00
Daniel Baumann
b7f5a3af97
Removing imported whitespaces.
2008-06-17 07:08:24 +02:00
Chris Lamb
5093b27576
Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 16:07:05 +01:00
Chris Lamb
2b77ec6b5d
Add support for sparc to lh_binary_debian-installer.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 04:47:23 +01:00
Chris Lamb
0cfbc69eb0
Ensure apt-utils is installed in the helpers it is required.
...
This allows us to remove a hacky test from hooks/minimal to see whether
we need the package.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 02:55:33 +01:00
Chris Lamb
28db987a8e
Abort if "live" d-i installation is attempted with minimal or stripped LH_PACKAGES_LISTS
...
This is required because lh_binary_rootfs removes /boot if minimal or
stripped is the only packages list.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 02:45:50 +01:00
Chris Lamb
cd7689e4ce
Fix trivial typographic error ("flavor" => "flavour")
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15 00:36:20 +01:00
Chris Lamb
250529183f
Replace a few unweildy "if" statements with their "case" equivalents
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:35:11 +01:00
Chris Lamb
0d1122d0ab
Move Etch syslinux workaround closer to the original definitions
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:30:32 +01:00
Chris Lamb
efa3d98166
Use correct location of powerpc d-i images.
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:27:42 +01:00
Chris Lamb
6ada2b7bd4
Set correct d-i image type on usb-hdd and tar image types
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 17:22:57 +01:00
Chris Lamb
7918534bc5
Rename USE_NETBOOT_DI to DI_IMAGE_TYPE
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14 16:41:58 +01:00
Chris Lamb
36035832fb
Don't exclude live-installer when LH_DEBIAN_INSTALLER=live
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13 15:52:16 +01:00
Chris Lamb
51670fa564
Fix a few bogus guards in lh_binary_debian-installer
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13 14:28:27 +01:00
Daniel Baumann
734762fcf1
Some formating and style cleanups.
2008-04-17 10:42:34 +02:00
Chris Lamb
fe152b4d0c
lh_binary_debian-installer: Add dependency on 'wget'
...
The 'minimal' hook removes wget, which is used extensively by the Debian
Installer hook.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-16 06:19:10 +01:00
Daniel Baumann
07a3c54d46
Using new Read_conffile(); now.
2008-04-07 12:10:21 +02:00
Daniel Baumann
e79e733e49
Adding 'all' configuration file.
2008-04-07 11:58:50 +02:00
Chris Lamb
32f6dcd3a3
lh_binary_debian-installer: Preseed by repacking initrd in some situations
...
This patch repacks the initrd when using the d-i netboot images in order
to incorporate a preseed.cfg if it exists. Before this patch, preseeding
of d-i netboot images was not possible.
Repacking the initrd has the additional advantage of being able to preseed
the first few questions of the installation process.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 18:13:03 +00:00
Chris Lamb
3e5f888a19
lh_binary_debian-installer: Merge pool/netboot determining logic
...
The code which determined whether to use the netboot d-i images was the
inverse of the code which determined whether to create a local package
pool: this patch merges the two.
This patch additionally ensures that setting "businesscard" whilst building
an ISO image will install the d-i netboot images; this was causing d-i
failures when it couldn't find its (non-existent) package pool.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 18:09:46 +00:00
Chris Lamb
c70412bcfa
lh_binary_debian-installer: Remove "local"-oriented bashisms
...
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 18:05:42 +00:00
Chris Lamb
9321c45188
lh_binary_debian-installer: Don't use --no-clobber for downloading files
...
Using --no-clobber at the same time as -O<file> results in <file> being
created with no contents, which was resulting in (broken) zero-byte d-i
kernels and initrds.
The patch is simple -- simply remove --no-clobber: wget -O<file> <url> will always download <url> to <file>, regardless of how
many times it is run.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 01:32:11 +00:00
Chris Lamb
cf25064250
lh_binary_debian-installer: Only create package pools when necessary
...
There is no need to create a package pool when creating a netboot Debian
Live image or when the LH_DEBIAN_INSTALLER is set to "businesscard".
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 01:31:42 +00:00
Chris Lamb
762613f277
lh_binary_debian-installer: Re-enable d-i on netboot images
...
This patch also modifies the configuration logic to ensure that setting
LH_DEBIAN_INSTALLER="enabled" whilst creating a netboot image will install
the netboot variety of d-i.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-03-22 01:30:55 +00:00
Daniel Baumann
ab336ba97e
Updating copyright years to 2008.
2008-03-06 16:43:00 +01:00