summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-01 13:44:06 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:09 +0100
commite1f1b6e7af1c7d602ffc0d2879dc9ff19bd19583 (patch)
treeefbe4cbd6c2dfe5a42abbf5d3c2ac912043828ef /scripts
parent7111ab7c3b1220384a8f576e170ba3910110ad97 (diff)
downloadlive-boot-e1f1b6e7af1c7d602ffc0d2879dc9ff19bd19583.tar.gz
live-boot-e1f1b6e7af1c7d602ffc0d2879dc9ff19bd19583.zip
Merging casper 1.218.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/24preseed7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/live-bottom/24preseed b/scripts/live-bottom/24preseed
index 9a77ef5..60b9be6 100755
--- a/scripts/live-bottom/24preseed
+++ b/scripts/live-bottom/24preseed
@@ -58,7 +58,14 @@ fi
if db_get preseed/early_command && [ "$RET" ]
then
+ echo 'APT::Keep-Fds { "3"; "4"; };' > /root/etc/apt/apt.conf.d/00-early-debconf
+ DEBIAN_FRONTEND=passthrough \
+ DEBCONF_READFD=3 \
+ DEBCONF_WRITEFD=4 \
+ DEBCONF_DB_REPLACE=configdb \
+ DEBCONF_DB_OVERRIDE='Pipe{infd:none outfd:none}' \
sh -c "$RET"
+ rm -f /root/etc/apt/apt.conf.d/00-early-debconf
fi
# Clear out debconf database backup files to save memory.