Commit bc9dbff8 authored by Holger Levsen's avatar Holger Levsen
Browse files

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

parent 9eeb3a85
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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
+7 −0
Original line number Diff line number Diff line
@@ -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