Commit bc9dbff8 authored by Holger Levsen's avatar Holger Levsen

d-i: preseed man-db/auto-update to false

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 9eeb3a85
......@@ -112,6 +112,13 @@ pdebuild_package() {
#
if [ ! -f /var/cache/pbuilder/base.tgz ] ; then
sudo pbuilder --create --http-proxy $http_proxy
TMPFILE=$(mktemp)
cat >> $TMPFILE <<- EOF
# Preseeding man-db/auto-update to false
echo "man-db man-db/auto-update boolean false" | debconf-set-selections
EOF
sudo pbuilder --execute $http_proxy --save-after-exec -- ${TMPFILE}
rm ${TMPFILE}
else
ls -la /var/cache/pbuilder/base.tgz
file /var/cache/pbuilder/base.tgz
......
......@@ -40,6 +40,13 @@ pdebuild_package() {
#
if [ -f /var/cache/pbuilder/base.tgz ] ; then
sudo pbuilder --create --http-proxy $http_proxy
TMPFILE=$(mktemp)
cat >> $TMPFILE <<- EOF
# Preseeding man-db/auto-update to false
echo "man-db man-db/auto-update boolean false" | debconf-set-selections
EOF
sudo pbuilder --execute $http_proxy --save-after-exec -- ${TMPFILE}
rm ${TMPFILE}
else
sudo pbuilder --update --http-proxy $http_proxy
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment