summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 13:15:49 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 13:17:38 +0000
commitc91b0b818b76c3bcdc4c803f6f18caac5bc9ca2f (patch)
tree1c35d0ca7ddd0110b08b33390a3fcb0d31bb7eb2 /share/scripts/debconf
parentRemoving dpkg hack for progress-linux in debconf container create script, not... (diff)
downloadcompute-tools-c91b0b818b76c3bcdc4c803f6f18caac5bc9ca2f.tar.xz
compute-tools-c91b0b818b76c3bcdc4c803f6f18caac5bc9ca2f.zip
Removing base-files hacks for progress-linux in debconf container create script, not needed for buster and newer anymore.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/debconf')
-rwxr-xr-xshare/scripts/debconf20
1 files changed, 0 insertions, 20 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index 041c8db..18f49af 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -449,16 +449,6 @@ EOF
rm -f "${DIRECTORY}/etc/mtab"
ln -s /proc/self/mounts "${DIRECTORY}/etc/mtab"
- # Temporary hack for base-files
- for FILE in motd.tail motd profile
- do
- if [ -e "${DIRECTORY}/usr/share/base-files/${FILE}" ]
- then
- rm -f "${DIRECTORY}/etc/${FILE}"
- cp "${DIRECTORY}/usr/share/base-files/${FILE}" "${DIRECTORY}/etc"
- fi
- done
-
# Temporary hack for readline
if [ -e "${DIRECTORY}/etc/inputrc" ]
then
@@ -668,16 +658,6 @@ EOF
done
fi
- # Temporary hack for base-files (base-files gets upgraded, so run it second time)
- for FILE in motd.tail motd profile
- do
- if [ -e "${DIRECTORY}/usr/share/base-files/${FILE}" ]
- then
- rm -f "${DIRECTORY}/etc/${FILE}"
- cp "${DIRECTORY}/usr/share/base-files/${FILE}" "${DIRECTORY}/etc"
- fi
- done
-
if [ -n "${PACKAGES}" ]
then
Chroot "${DIRECTORY}" "apt --option Dpkg::Options::=--force-confnew --yes install ${PACKAGES}"