summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09Adding last modifications in order to have localization fully working in ↵Tiago Bortoletto Vaz1-2/+2
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-09Add busybox to DI_PACKAGES as its required to install kernels.Chris Lamb1-1/+1
2011-03-09Choose correct d-i install method for "live" and usb-hdd/tar image types.Chris Lamb1-3/+3
2011-03-09Don't duplicate .debs of packages in binary/pool that are installed via ↵Chris Lamb1-6/+49
live-installer. This saves about 80MiB of space when building LH_DEBIAN_INSTALLER="live".
2011-03-09Create pool/main to prevent build failure when no local .debs are queued for ↵Chris Lamb1-0/+1
installation.
2011-03-09Don't include the bootstrap .debs on live-installer based disks (saves ~30MiB).Chris Lamb1-12/+15
2011-03-09Rework WGET_OPTIONS and use "--no-verbose" by default (just prints the URL).Chris Lamb1-1/+6
2011-03-09Fix bug in LH_DEBIAN_INSTALLER_DISTRIBUTION = "daily" handling.Chris Lamb1-0/+2
Was causing build failures as it was trying to download files from a "daily" component of a mirror.
2011-03-09Merging debian-installer-daily option into debian-installer-distribution.Daniel Baumann1-1/+1
2011-03-09Suporting debian-installer distribution choice, which makes possible to ↵Tiago Bortoletto Vaz1-23/+23
build a image using a system-independent debian-installer suite. The config option for this is --debian-installer-distribution CODENAME.
2011-03-09Replacing file checking with ls by function callsAntonio Terceiro1-6/+6
Instead of repeatedly doing "ls ... > /dev/null 2>&1", just use a function that does exactly that.
2011-03-09Test whether to use hard-links when caching d-i downloads.Chris Lamb1-1/+6
2011-03-09Don't install Recommends of d-i packages.Chris Lamb1-1/+1
2011-03-09Print nicer error message when bootstrap missing from LH_CACHE_STAGES.Chris Lamb1-0/+3
2011-03-09Remove 'E:' prefix in call to Echo_error - it gets added later too.Chris Lamb1-1/+1
2011-03-09Fix cache poisoning issue in lh_binary_debian-installer with 404 downloadsChris Lamb1-1/+7
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-09Don't attempt to use live-installer on Etch; it would simply result in no ↵Chris Lamb1-1/+1
bootstrap method.
2011-03-09Cache d-i kernel, initrd and mini.iso downloads (Closes: #492085)Chris Lamb1-1/+13
2011-03-09Wrap most calls to wget in lh_binary_debian-installer.Chris Lamb1-8/+18
2011-03-09Refactor d-i GTK image selection, ensuring the GTK installer is only chosen ↵Chris Lamb1-5/+17
on the netboot variant when building on powerpc.
2011-03-09Only consider linux-image-2.6-prep powerpc kernel image on Etch.Chris Lamb1-1/+6
2011-03-09Refactor remote d-i location handling and ensure correct locations for powerpc.Chris Lamb1-14/+29
2011-03-09Revert aborting live d-i installation if minimal/stripped is selected and ↵Chris Lamb1-10/+1
instead attempt to not break the chroot too much in this case
2011-03-09Remove more imported whitespaces.Chris Lamb1-1/+1
2011-03-09Removing imported whitespaces.Daniel Baumann1-1/+1
2011-03-09Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.Chris Lamb1-2/+2
2011-03-09Add support for sparc to lh_binary_debian-installer.Chris Lamb1-11/+56
2011-03-09Ensure apt-utils is installed in the helpers it is required.Chris Lamb1-0/+1
This allows us to remove a hacky test from hooks/minimal to see whether we need the package.
2011-03-09Abort if "live" d-i installation is attempted with minimal or stripped ↵Chris Lamb1-1/+10
LH_PACKAGES_LISTS This is required because lh_binary_rootfs removes /boot if minimal or stripped is the only packages list.
2011-03-09Fix trivial typographic error ("flavor" => "flavour")Chris Lamb1-1/+1
2011-03-09Replace a few unweildy "if" statements with their "case" equivalentsChris Lamb1-16/+18
2011-03-09Move Etch syslinux workaround closer to the original definitionsChris Lamb1-8/+8
2011-03-09Use correct location of powerpc d-i images.Chris Lamb1-0/+6
2011-03-09Set correct d-i image type on usb-hdd and tar image typesChris Lamb1-7/+8
2011-03-09Rename USE_NETBOOT_DI to DI_IMAGE_TYPEChris Lamb1-8/+8
2011-03-09Don't exclude live-installer when LH_DEBIAN_INSTALLER=liveChris Lamb1-0/+5
2011-03-09Fix a few bogus guards in lh_binary_debian-installerChris Lamb1-3/+3
2011-03-09Some formating and style cleanups.Daniel Baumann1-6/+8
2011-03-09lh_binary_debian-installer: Add dependency on 'wget'Chris Lamb1-0/+15
The 'minimal' hook removes wget, which is used extensively by the Debian Installer hook.
2011-03-09Using new Read_conffile(); now.Daniel Baumann1-7/+1
2011-03-09Adding 'all' configuration file.Daniel Baumann1-0/+1
2011-03-09lh_binary_debian-installer: Preseed by repacking initrd in some situationsChris Lamb1-0/+28
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.
2011-03-09lh_binary_debian-installer: Merge pool/netboot determining logicChris Lamb1-19/+18
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.
2011-03-09lh_binary_debian-installer: Remove "local"-oriented bashismsChris Lamb1-2/+5
2011-03-09lh_binary_debian-installer: Don't use --no-clobber for downloading filesChris Lamb1-4/+4
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.
2011-03-09lh_binary_debian-installer: Only create package pools when necessaryChris Lamb1-143/+163
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".
2011-03-09lh_binary_debian-installer: Re-enable d-i on netboot imagesChris Lamb1-20/+21
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.
2011-03-09Updating copyright years to 2008.Daniel Baumann1-1/+1
2011-03-09Using wildcards to support more than one preseeding file.Daniel Baumann1-3/+3
2011-03-09Honor local preseeding file for debian-installer.Daniel Baumann1-0/+6