summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-07-25 04:41:37 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2018-07-27 02:49:15 +0000
commitda99f1d675f5535163cf8848b5aae315315b48bf (patch)
treed057a7254c6736debb14e61d261005370a97cfa2 /share/scripts/debconf
parentAdding support for multiple container and host commands in debconf container ... (diff)
downloadcompute-tools-da99f1d675f5535163cf8848b5aae315315b48bf.tar.xz
compute-tools-da99f1d675f5535163cf8848b5aae315315b48bf.zip
Removing bind mounting of /var/cache/apt/archives during creation of the container, not really usefull anymore these days.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf6
1 files changed, 0 insertions, 6 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index a05b067..5325c11 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -155,9 +155,6 @@ Upgrade_system ()
mount -o bind /proc "${DIRECTORY}/proc"
mount -o bind /sys "${DIRECTORY}/sys"
- # Bind mount systems apt cache
- mount -o bind /var/cache/apt/archives "${DIRECTORY}/var/cache/apt/archives"
-
# Disable dpkg syncing
cat > "${DIRECTORY}/etc/dpkg/dpkg.cfg.d/container-tools" << EOF
@@ -182,9 +179,6 @@ EOF
# Install systemd support packages
Chroot "${DIRECTORY}" "apt-get --yes install dbus libpam-systemd systemd-sysv"
- # Unmount systems apt cache
- umount "${DIRECTORY}/var/cache/apt/archives"
-
Chroot "${DIRECTORY}" "apt-get clean"
}