diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-13 07:43:46 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-13 07:43:46 +0100 |
commit | 8d13bcead097b2052ad300e594d1bfb9183d0164 (patch) | |
tree | 5066258661e7494df0f88dee2745553a79d6e9d6 /bin/debvm-create | |
parent | 52202bfc705e433a170e78529558556b0976ae71 (diff) | |
download | debvm-8d13bcead097b2052ad300e594d1bfb9183d0164.tar.gz |
debvm-create: defer the decision of installing libnss-resolve to apt
Rather than check the DEBVER, let apt figure out whether it knows about
a package called libnss-resolve and install it when available.
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-x | bin/debvm-create | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/debvm-create b/bin/debvm-create index 981b450..d4a291b 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -254,9 +254,7 @@ if test -n "$SSHKEY"; then fi # add a DNS resolver -if test "$DEBVER" -ge 9; then - INCLUDE_PACKAGES="$INCLUDE_PACKAGES,libnss-resolve" -fi +INCLUDE_PACKAGES="$INCLUDE_PACKAGES,?exact-name(libnss-resolve)" set -- "--customize-hook=$SHARE_DIR/customize-resolved.sh" "$@" # construct mmdebstrap options as $@: |