installdeps: use confnew to workaround upgrade

This commit is contained in:
Dan Bungert 2023-08-28 12:07:28 -06:00
parent ad881dc948
commit 0bbec68bd9
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@ set -eux
cd "$(dirname ${BASH_SOURCE:0})/.."
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -o APT::Get::Always-Include-Phased-Updates=true -y dist-upgrade
DEBIAN_FRONTEND=noninteractive apt-get \
-o Dpkg::Options::=--force-confnew \
-o APT::Get::Always-Include-Phased-Updates=true \
-y dist-upgrade
mkdir -p /etc/systemd/system/zfs-mount.service.d/
cat >/etc/systemd/system/zfs-mount.service.d/override.conf <<EOF
[Unit]