You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mmdebstrap/hooks
Johannes Schauer Marin Rodrigues 9cea818727
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
1 year ago
..
busybox hooks: do not require MMDEBSTRAP_VERBOSITY to be set 2 years ago
eatmydata shellcheck everything 2 years ago
file-mirror-automount hooks/file-mirror-automount/setup00.sh: use mmdebstrap --hook-helper upload and sync-in instead of cp 1 year ago
jessie-or-older hooks/jessie-or-older: split into two individual hook files 1 year ago
maybe-jessie-or-older improve maybe-* hook conditions 1 year ago
maybe-merged-usr improve maybe-* hook conditions 1 year ago
merged-usr set DPkg::Chroot-Directory in APT_CONFIG 1 year ago
no-merged-usr hooks/no-merged-usr/essential00.sh: symlink to ../merged-usr/essential00.sh 1 year ago