aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--pbuilder-modules5
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 092a809..540b593 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pbuilder (0.176) UNRELEASED; urgency=low
+
+ * Create /etc/apt/apt.conf.d just in case it doesn't exist. (Closes:
+ #452584).
+
+ -- Junichi Uekawa <dancer@debian.org> Sat, 24 Nov 2007 22:43:48 +0900
+
pbuilder (0.175) unstable; urgency=low
* debian/control: Vcs-Browser and Vcs-Git instead of XS-*.
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";