From c91b0b818b76c3bcdc4c803f6f18caac5bc9ca2f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 11 Apr 2021 15:15:49 +0200 Subject: Removing base-files hacks for progress-linux in debconf container create script, not needed for buster and newer anymore. Signed-off-by: Daniel Baumann --- share/scripts/debconf | 20 -------------------- 1 file changed, 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}" -- cgit v1.2.3