diff options
Diffstat (limited to 'pbuilder-modules')
-rw-r--r-- | pbuilder-modules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules index 5838a90..a16e307 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -317,6 +317,11 @@ EOF cp -a "$APTCONFDIR/"* "$BUILDPLACE"/etc/apt fi + if [ ! -d "$BUILDPLACE"/etc/apt/apt.conf.d ]; then + echo " -> Create /etc/apt/apt.conf.d/ inside chroot" + mkdir "$BUILDPLACE"/etc/apt/apt.conf.d + fi + # configure /etc/apt.conf.d/15pbuilder cat > "$BUILDPLACE"/etc/apt/apt.conf.d/15pbuilder <<EOF APT::Install-Recommends "false"; |