summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
AgeCommit message (Collapse)AuthorFilesLines
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
2011-03-09Renaming LH_MIRROR_BOOTSTRAP* to LH_MIRROR_CHROOT and introducing dedicated ↵Daniel Baumann1-4/+4
LH_MIRROR_BOOTSTRAP for debootstrap/cdebootstrap only.
2011-03-09Adding apt/aptitude options.Daniel Baumann1-1/+1
By using APT_OPTIONS and APTITUDE_OPTIONS in config/common, one can manipulate the default options wich is made to each and every apt and aptitude call.
2011-03-09Re-add guards against bogus 'for' shell expansion.Chris Lamb1-12/+21
2011-03-09Refactor d-i udeb handling with better failure mode (Closes: #444565)Chris Lamb1-2/+11
2011-03-09Use Install_file for udebs.Chris Lamb1-29/+9
2011-03-09Consistently using the pipe as seperator in sed commands now.Daniel Baumann1-4/+4
2011-03-09Move installing binary.deb/archives/*.deb.Chris Lamb1-5/+5
2011-03-09Remove conditionals, as an expansion never 'fails': it justChris Lamb1-21/+12
won't copy any files.
2011-03-09Refactor installing file to binary/pool/main/./.* functionality.Chris Lamb1-88/+31
2011-03-09Don't put more than one glob on a 'for' line, unless they are guaranteedChris Lamb1-3/+61
to succeed, otherwise the second one is not expanded and "*.deb" (for example) is used literally. This patch expands (haha) each "for" loop into it's own.
2011-03-09Replacing backticks with POSIX expression.Daniel Baumann1-22/+22
2011-03-09Respecting LH_QUIET for wget calls, thanks to Justin Pryzby ↵Daniel Baumann1-7/+12
<pryzbyj@justinpryzby.com>.
2011-03-09Adding local udeb_exclude file functionality.Daniel Baumann1-0/+6
2011-03-09Do not remove pkgsel anymore.Daniel Baumann1-2/+0
2011-03-09Do not create symlinks on usb-hdd images.Daniel Baumann1-1/+4