diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-05-22 10:41:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-05-22 10:42:03 +0000 |
commit | 0c812bb11b2f1814cf9a9a8633b481f59305c1b9 (patch) | |
tree | 7e3cabc7164e8546f8c70a4f2f24f505a4b65fee /share/scripts | |
parent | Correcting bind-ro option handling to actually work. (diff) | |
download | compute-tools-0c812bb11b2f1814cf9a9a8633b481f59305c1b9.tar.xz compute-tools-0c812bb11b2f1814cf9a9a8633b481f59305c1b9.zip |
Reverting "Purging packages that got removed/replaced during container creation.", not needed anymore.
This reverts commit 8aa267f.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/debconf | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf index dee4dcd..c90e851 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -187,16 +187,6 @@ Cleanup_system () Chroot "${DIRECTORY}" "apt-get --yes --purge autoremove" Chroot "${DIRECTORY}" "apt-get clean" - CRUFT="$(Chroot "${DIRECTORY}" "dpkg --get-selections | awk '/deinstall$/ { print $1 }'")" - - if [ -n "${CRUFT}" ] - then - for PACKAGE in ${CRUFT} - do - Chroot "${DIRECTORY}" "apt-get purge ${PACKAGE}" - done - fi - # Cleanup rm -f "${DIRECTORY}/etc/dpkg/dpkg.cfg.d/container-tools" rm -f "${DIRECTORY}/usr/sbin/policy-rc.d" |