summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_install-packages
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09Always create stagefile for chroot_install-packages and require it for lh_sourceChris Lamb1-2/+3
This is required as lh_source will generate an incomplete source tarball if only the bootstrap phase has been completed.
2011-03-09Always add our apt_preference(5) pinning stanza when using local-packages.Chris Lamb1-15/+2
This mostly reverts my most recent chroot_local-packages/preferences commit as I found problems when re-running parts of the build: as the pinning stanza was removed, calls to "apt-get upgrade" from within live-helper would remove replacement packages placed in chroot_local-packages. This isn't 100% foolproof - running apt-get upgrade on the binary image may still attempt to remove replacement packages (heavy users of this should probably be using their own repo for this sort of thing anyway).
2011-03-09Ensure packages in config/chroot_local-packages override all others.Chris Lamb1-2/+16
This reverts config/chroot_local-packages to almost original semantics by giving any package in chroot_local-packages a priority of 1001, allowing it to "downgrade" packages and generally override the standard APT sources. I think this follows the idea of this directory more and is likely to be more useful with this setup - rebuilding a package simply to bump a version number or keeping a custom apt_preferences(5) file around kinda sucks, especially as it is often used as a temporary workaround.
2011-03-09Using one single packages cache directory for all chroot packages.Daniel Baumann1-2/+2
2011-03-09Install most chroot packages in one ${LH_APT} call (Closes: #475739)Chris Lamb1-0/+68
This patch installs (almost) all chroot packages by queueing the package names into a single file and then installing that. It depends on my previous patch to install local packages by using an APT mirror. This speeds up image build causes even greater speedups once more packages adopt triggers. (Packages installed by debconf preseeding are not touched, nor are packages installed by tasks.)