summaryrefslogtreecommitdiff
path: root/bin/debvm-create
diff options
context:
space:
mode:
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-xbin/debvm-create4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/debvm-create b/bin/debvm-create
index 9d637b1..981b450 100755
--- a/bin/debvm-create
+++ b/bin/debvm-create
@@ -291,9 +291,7 @@ if test -n "$SSHKEY"; then
fi
set -- --skip=cleanup/apt/lists "$@"
-
-# We need /var/lib/dpkg/available for dpkg --set-selections to work.
-set -- '--customize-hook=chroot "$1" apt-cache dumpavail | chroot "$1" dpkg --update-avail' "$@"
+set -- "--customize-hook=$SHARE_DIR/customize-dpkgavailable.sh" "$@"
if test "$DEBVER" -le 8; then
# Use obsolete and expired keys.