summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-11-15 11:49:52 +0000
committerLars Wirzenius <liw@liw.fi>2013-11-15 11:49:52 +0000
commit9341668729319a00b434ec89db1fa7c63a6b8b25 (patch)
tree1f6ff808f02a4750e108b7ef793fdc8ee335ea5d
parentcb9497be67a7fecefc7aca0de7b59a95dfaf558f (diff)
downloadjenkinstool-9341668729319a00b434ec89db1fa7c63a6b8b25.tar.gz
Put dpkg.cfg in the right directory
-rwxr-xr-xvm-data/worker.customize3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize
index a311129..70cbe10 100755
--- a/vm-data/worker.customize
+++ b/vm-data/worker.customize
@@ -25,7 +25,8 @@ rootdir="$1"
# Configure dpkg to prefer the old version of a conffile, so upgrades
# (especially of sid) will work without prompting.
-cat <<EOF > "$rootdir/etc/dpkg.cfg"
+mkdir "$rootdir/etc/dpkg"
+cat <<EOF > "$rootdir/etc/dpkg/dpkg.cfg"
force-confold
EOF