summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-04-05 17:03:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-04-05 17:03:27 +0000
commitdf72932c560618458a97181cacbbfe5d18d2ab2c (patch)
tree986e049c067b22126c7645f56836545538d08320
parentAdding upstream version 20170401. (diff)
downloadopen-infrastructure-compute-tools-df72932c560618458a97181cacbbfe5d18d2ab2c.tar.xz
open-infrastructure-compute-tools-df72932c560618458a97181cacbbfe5d18d2ab2c.zip
Adding upstream version 20170405.upstream/20170405
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--CHANGELOG.txt7
-rw-r--r--VERSION.txt2
-rwxr-xr-xshare/scripts/debconf14
3 files changed, 11 insertions, 12 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 0b05f37..f8b9435 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,10 @@
+2017-04-05 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+
+ * Releasing version 20170405.
+
+ [ Daniel Baumann ]
+ * Consistently using '--force-confnew' as dpkg option when upgrading or installing packages.
+
2017-04-01 Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Releasing version 20170401.
diff --git a/VERSION.txt b/VERSION.txt
index 0dde600..68b5226 100644
--- a/VERSION.txt
+++ b/VERSION.txt
@@ -1 +1 @@
-20170401
+20170405
diff --git a/share/scripts/debconf b/share/scripts/debconf
index df9241c..e4c342e 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -168,8 +168,8 @@ EOF
# Upgrade system
Chroot "${DIRECTORY}" "apt-get update"
- Chroot "${DIRECTORY}" "apt-get --yes --option APT::Force-LoopBreak=true upgrade"
- Chroot "${DIRECTORY}" "apt-get --yes --option APT::Force-LoopBreak=true dist-upgrade"
+ Chroot "${DIRECTORY}" "apt-get --yes --option APT::Force-LoopBreak=true --option Dpkg::Options::=--force-confnew upgrade"
+ Chroot "${DIRECTORY}" "apt-get --yes --option APT::Force-LoopBreak=true --option Dpkg::Options::=--force-confnew dist-upgrade"
# Install systemd support packages
Chroot "${DIRECTORY}" "apt-get --yes install dbus libpam-systemd systemd-sysv"
@@ -704,15 +704,7 @@ EOF
# Workaround: We're running lxc-support at the end of the template again.
if [ -n "${PACKAGES}" ]
then
- case "${DEBCONF_FRONTEND}" in
- noninteractive)
- Chroot "${DIRECTORY}" apt-get --option APT::Force-LoopBreak=true --option Dpkg::Options::="--force-overwrite" --option Dpkg::Options::="--force-confold" --yes install ${PACKAGES}
- ;;
-
- *)
- Chroot "${DIRECTORY}" "apt-get --option APT::Force-LoopBreak=true --yes install ${PACKAGES}"
- ;;
- esac
+ Chroot "${DIRECTORY}" "apt-get --option APT::Force-LoopBreak=true --option Dpkg::Options::=--force-confnew --yes install ${PACKAGES}"
fi
# Manual hack to regenerate ssh keys