set DPkg::Chroot-Directory in APT_CONFIG #34
Loading…
Reference in a new issue
No description provided.
Delete branch "DPkg-Chroot-Directory"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this is so that users calling
apt-get install
from a hook only need to haveAPT_CONFIG=$MMDEBSTRAP_APT_CONFIG
set and do not also have to pass-oDPkg::Chroot-Directory="$1"
This breaks users running apt-get with
DPkg::Options::=--force-script-chrootless
or withDpkg::Pre-Install-Pkgs
from within a hook withAPT_CONFIG=$MMDEBSTRAP_APT_CONFIG
.In those situations,
DPkg::Chroot-Directory
has to be set to the empty string explicitly with-o
to overwrite theAPT_CONFIG
setting.Thanks: Helmut Grohne
32fa6ff7bd
to9cea818727