Skip to content

Commit

Permalink
installdeps: use confnew to workaround upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dbungert committed Aug 28, 2023
1 parent ad881dc commit 0bbec68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/installdeps.sh
Expand Up @@ -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]
Expand Down

0 comments on commit 0bbec68

Please sign in to comment.