summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
AgeCommit message (Collapse)Author
2008-08-18Set DEBCONF_FRONTEND=newt for non-GTK d-i instead of seperate initrd.Chris Lamb
This saves approximately 7MB when integrating the Debian Installer. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-17Support expanding wildcards in udeb excludes.Chris Lamb
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-17Remove pointless whitespace.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-16Correct bogus path for d-i preseed files.Chris Lamb
2008-08-14Also allowing multiple preseeding files for netboot.Tiago Bortoletto Vaz
2008-08-14Allowing to use more than one preseeding file to be on the media.Tiago Bortoletto Vaz
2008-08-11Adding last modifications in order to have localization fully working in ↵Tiago Bortoletto Vaz
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-11Add busybox to DI_PACKAGES as its required to install kernels.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11Choose correct d-i install method for "live" and usb-hdd/tar image types.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-11Don't duplicate .debs of packages in binary/pool that are installed via ↵Chris Lamb
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-10Create pool/main to prevent build failure when no local .debs are queued for ↵Chris Lamb
installation. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-10Fix bug in LH_DEBIAN_INSTALLER_DISTRIBUTION = "daily" handling.Chris Lamb
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-10Merging debian-installer-daily option into debian-installer-distribution.Daniel Baumann
2008-08-10Suporting debian-installer distribution choice, which makes possible to ↵Tiago Bortoletto Vaz
build a image using a system-independent debian-installer suite. The config option for this is --debian-installer-distribution CODENAME.
2008-08-09Replacing file checking with ls by function callsAntonio Terceiro
Instead of repeatedly doing "ls ... > /dev/null 2>&1", just use a function that does exactly that.
2008-08-07Test whether to use hard-links when caching d-i downloads.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07Don't install Recommends of d-i packages.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07Print nicer error message when bootstrap missing from LH_CACHE_STAGES.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-08-07Remove 'E:' prefix in call to Echo_error - it gets added later too.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-26Fix cache poisoning issue in lh_binary_debian-installer with 404 downloadsChris Lamb
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-26Don't attempt to use live-installer on Etch; it would simply result in no ↵Chris Lamb
bootstrap method. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-24Cache d-i kernel, initrd and mini.iso downloads (Closes: #492085)Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-24Wrap most calls to wget in lh_binary_debian-installer.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04Refactor d-i GTK image selection, ensuring the GTK installer is only chosen ↵Chris Lamb
on the netboot variant when building on powerpc. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04Only consider linux-image-2.6-prep powerpc kernel image on Etch.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-07-04Refactor remote d-i location handling and ensure correct locations for powerpc.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19Revert aborting live d-i installation if minimal/stripped is selected and ↵Chris Lamb
instead attempt to not break the chroot too much in this case Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-19Remove more imported whitespaces.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-17Removing imported whitespaces.Daniel Baumann
2008-06-15Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15Add support for sparc to lh_binary_debian-installer.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-15Ensure apt-utils is installed in the helpers it is required.Chris Lamb
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-15Abort if "live" d-i installation is attempted with minimal or stripped ↵Chris Lamb
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-15Fix trivial typographic error ("flavor" => "flavour")Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14Replace a few unweildy "if" statements with their "case" equivalentsChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14Move Etch syslinux workaround closer to the original definitionsChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14Use correct location of powerpc d-i images.Chris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14Set correct d-i image type on usb-hdd and tar image typesChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-14Rename USE_NETBOOT_DI to DI_IMAGE_TYPEChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13Don't exclude live-installer when LH_DEBIAN_INSTALLER=liveChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-06-13Fix a few bogus guards in lh_binary_debian-installerChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2008-04-17Some formating and style cleanups.Daniel Baumann
2008-04-16lh_binary_debian-installer: Add dependency on 'wget'Chris Lamb
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-07Using new Read_conffile(); now.Daniel Baumann
2008-04-07Adding 'all' configuration file.Daniel Baumann
2008-03-22lh_binary_debian-installer: Preseed by repacking initrd in some situationsChris Lamb
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-22lh_binary_debian-installer: Merge pool/netboot determining logicChris Lamb
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-22lh_binary_debian-installer: Remove "local"-oriented bashismsChris Lamb
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>