mmdebstrap/hooks
Johannes Schauer Marin Rodrigues fd33bd2a40 set DPkg::Chroot-Directory in APT_CONFIG
This is so that users calling apt-get install from a hook only need to
have APT_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 with Dpkg::Pre-Install-Pkgs
from within a hook with APT_CONFIG=$MMDEBSTRAP_APT_CONFIG.

In those situations, DPkg::Chroot-Directory has to be set to the empty
string explicitly with -o to overwrite the APT_CONFIG setting.

Thanks: Helmut Grohne
2023-10-28 13:26:04 +00:00
..
busybox hooks: do not require MMDEBSTRAP_VERBOSITY to be set 2022-10-16 15:21:04 +02:00
copy-host-apt-sources-and-preferences add hooks/copy-host-apt-sources-and-preferences 2023-06-21 07:54:02 +02:00
eatmydata Use dpkg-query --show to not get stuck in a pager 2023-05-07 08:46:07 +02:00
file-mirror-automount hooks/file-mirror-automount/setup00.sh: use mmdebstrap --hook-helper upload and sync-in instead of cp 2023-03-19 09:01:37 +01:00
jessie-or-older hooks/jessie-or-older: split into two individual hook files 2023-01-16 07:43:08 +01:00
maybe-jessie-or-older improve maybe-* hook conditions 2023-01-20 07:07:58 +01:00
maybe-merged-usr hooks/merged-usr: implement post-merging as debootstrap does (see #1049898) 2023-08-20 08:01:04 +02:00
merged-usr set DPkg::Chroot-Directory in APT_CONFIG 2023-10-28 13:26:04 +00:00
no-merged-usr hooks/merged-usr: implement post-merging as debootstrap does (see #1049898) 2023-08-20 08:01:04 +02:00