summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_debian-installer
AgeCommit message (Collapse)Author
2011-03-09Remove 'E:' prefix in call to Echo_error - it gets added later too.Chris Lamb
2011-03-09Fix 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.
2011-03-09Don't attempt to use live-installer on Etch; it would simply result in no ↵Chris Lamb
bootstrap method.
2011-03-09Cache d-i kernel, initrd and mini.iso downloads (Closes: #492085)Chris Lamb
2011-03-09Wrap most calls to wget in lh_binary_debian-installer.Chris Lamb
2011-03-09Refactor d-i GTK image selection, ensuring the GTK installer is only chosen ↵Chris Lamb
on the netboot variant when building on powerpc.
2011-03-09Only consider linux-image-2.6-prep powerpc kernel image on Etch.Chris Lamb
2011-03-09Refactor remote d-i location handling and ensure correct locations for powerpc.Chris Lamb
2011-03-09Revert 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
2011-03-09Remove more imported whitespaces.Chris Lamb
2011-03-09Removing imported whitespaces.Daniel Baumann
2011-03-09Prefix mount and unmount in lh_binary_debian-installer with LH_ROOT_COMMAND.Chris Lamb
2011-03-09Add support for sparc to lh_binary_debian-installer.Chris Lamb
2011-03-09Ensure 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.
2011-03-09Abort 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.
2011-03-09Fix trivial typographic error ("flavor" => "flavour")Chris Lamb
2011-03-09Replace a few unweildy "if" statements with their "case" equivalentsChris Lamb
2011-03-09Move Etch syslinux workaround closer to the original definitionsChris Lamb
2011-03-09Use correct location of powerpc d-i images.Chris Lamb
2011-03-09Set correct d-i image type on usb-hdd and tar image typesChris Lamb
2011-03-09Rename USE_NETBOOT_DI to DI_IMAGE_TYPEChris Lamb
2011-03-09Don't exclude live-installer when LH_DEBIAN_INSTALLER=liveChris Lamb
2011-03-09Fix a few bogus guards in lh_binary_debian-installerChris Lamb
2011-03-09Some formating and style cleanups.Daniel Baumann
2011-03-09lh_binary_debian-installer: Add dependency on 'wget'Chris Lamb
The 'minimal' hook removes wget, which is used extensively by the Debian Installer hook.
2011-03-09Using new Read_conffile(); now.Daniel Baumann
2011-03-09Adding 'all' configuration file.Daniel Baumann
2011-03-09lh_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.
2011-03-09lh_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.
2011-03-09lh_binary_debian-installer: Remove "local"-oriented bashismsChris Lamb
2011-03-09lh_binary_debian-installer: Don't use --no-clobber for downloading filesChris Lamb
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 Lamb
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 Lamb
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 Baumann
2011-03-09Using wildcards to support more than one preseeding file.Daniel Baumann
2011-03-09Honor local preseeding file for debian-installer.Daniel Baumann
2011-03-09Renaming LH_MIRROR_BOOTSTRAP* to LH_MIRROR_CHROOT and introducing dedicated ↵Daniel Baumann
LH_MIRROR_BOOTSTRAP for debootstrap/cdebootstrap only.
2011-03-09Adding apt/aptitude options.Daniel Baumann
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 Lamb
2011-03-09Refactor d-i udeb handling with better failure mode (Closes: #444565)Chris Lamb
2011-03-09Use Install_file for udebs.Chris Lamb
2011-03-09Consistently using the pipe as seperator in sed commands now.Daniel Baumann
2011-03-09Move installing binary.deb/archives/*.deb.Chris Lamb
2011-03-09Remove conditionals, as an expansion never 'fails': it justChris Lamb
won't copy any files.
2011-03-09Refactor installing file to binary/pool/main/./.* functionality.Chris Lamb
2011-03-09Don't put more than one glob on a 'for' line, unless they are guaranteedChris Lamb
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 Baumann
2011-03-09Respecting LH_QUIET for wget calls, thanks to Justin Pryzby ↵Daniel Baumann
<pryzbyj@justinpryzby.com>.
2011-03-09Adding local udeb_exclude file functionality.Daniel Baumann
2011-03-09Do not remove pkgsel anymore.Daniel Baumann