summaryrefslogtreecommitdiff
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
parent7111ab7c3b1220384a8f576e170ba3910110ad97 (diff)
downloadlive-boot-e1f1b6e7af1c7d602ffc0d2879dc9ff19bd19583.tar.gz
live-boot-e1f1b6e7af1c7d602ffc0d2879dc9ff19bd19583.zip
Merging casper 1.218.
-rw-r--r--docs/ChangeLog.casper7
-rwxr-xr-xscripts/live-bottom/24preseed7
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper
index 20f5663..1c82a8b 100644
--- a/docs/ChangeLog.casper
+++ b/docs/ChangeLog.casper
@@ -1,3 +1,10 @@
+casper (1.218) lucid; urgency=low
+
+ * Allow dpkg and apt-get to be installed from within commands that operate
+ in the chroot via early_command or driver updates. (LP: #521218)
+
+ -- Mario Limonciello <Mario_Limonciello@Dell.com> Tue, 16 Feb 2010 13:38:48 -0600
+
casper (1.217) lucid; urgency=low
[ Luke Yelavich ]
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.