[SCM] live-helper branch, debian, updated. debian/2.0_a3-1-6-g621cf77
Daniel Baumann
daniel at debian.org
Mon Dec 21 13:36:09 UTC 2009
The following commit has been merged in the debian branch:
commit 1c1ec5d676736a9166677fd919f79adf39095cd9
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Dec 21 14:33:03 2009 +0100
Ensure that precached-chroots are prepared as well.
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 2c06ff4..b9c6d26 100755
--- a/helpers/lh_binary_rootfs
+++ b/helpers/lh_binary_rootfs
@@ -147,11 +147,15 @@ case "${LH_CHROOT_FILESYSTEM}" in
rm -f .lock
mv chroot/chroot chroot.tmp
+ lh chroot_linux-image remove ${*}
lh chroot_sources remove ${*}
lh chroot_apt remove ${*}
lh chroot_hostname remove ${*}
lh chroot_resolv remove ${*}
lh chroot_hosts remove ${*}
+ lh chroot_sysv-rc remove ${*}
+ lh chroot_dpkg remove ${*}
+ lh chroot_debianchroot remove ${*}
lh chroot_sysfs remove ${*}
lh chroot_selinuxfs remove ${*}
lh chroot_proc remove ${*}
@@ -164,11 +168,15 @@ case "${LH_CHROOT_FILESYSTEM}" in
lh chroot_proc install ${*}
lh chroot_selinuxfs install ${*}
lh chroot_sysfs install ${*}
+ lh chroot_debianchroot install ${*}
+ lh chroot_dpkg install ${*}
+ lh chroot_sysv-rc install ${*}
lh chroot_hosts install ${*}
lh chroot_resolv install ${*}
lh chroot_hostname install ${*}
lh chroot_apt install ${*}
lh chroot_sources install ${*}
+ lh chroot_linux-image install ${*}
touch .lock
else
@@ -221,11 +229,15 @@ case "${LH_CHROOT_FILESYSTEM}" in
rm -f .lock
mv chroot/chroot chroot.tmp
+ lh chroot_linux-image remove ${*}
lh chroot_sources remove ${*}
lh chroot_apt remove ${*}
lh chroot_hostname remove ${*}
lh chroot_resolv remove ${*}
lh chroot_hosts remove ${*}
+ lh chroot_sysv-rc remove ${*}
+ lh chroot_dpkg remove ${*}
+ lh chroot_debianchroot remove ${*}
lh chroot_sysfs remove ${*}
lh chroot_selinuxfs remove ${*}
lh chroot_proc remove ${*}
@@ -238,11 +250,17 @@ case "${LH_CHROOT_FILESYSTEM}" in
lh chroot_proc install ${*}
lh chroot_selinuxfs install ${*}
lh chroot_sysfs install ${*}
+ lh chroot_debianchroot install ${*}
+ lh chroot_dpkg install ${*}
+ lh chroot_sysv-rc install ${*}
lh chroot_hosts install ${*}
lh chroot_resolv install ${*}
lh chroot_hostname install ${*}
lh chroot_apt install ${*}
lh chroot_sources install ${*}
+ lh chroot_linux-image install ${*}
+
+ touch .lock
else
rm -rf chroot/chroot
fi
@@ -323,11 +341,15 @@ case "${LH_CHROOT_FILESYSTEM}" in
rm -f .lock
mv chroot/chroot chroot.tmp
+ lh chroot_linux-image remove ${*}
lh chroot_sources remove ${*}
lh chroot_apt remove ${*}
lh chroot_hostname remove ${*}
lh chroot_resolv remove ${*}
lh chroot_hosts remove ${*}
+ lh chroot_sysv-rc remove ${*}
+ lh chroot_dpkg remove ${*}
+ lh chroot_debianchroot remove ${*}
lh chroot_sysfs remove ${*}
lh chroot_selinuxfs remove ${*}
lh chroot_proc remove ${*}
@@ -340,11 +362,15 @@ case "${LH_CHROOT_FILESYSTEM}" in
lh chroot_proc install ${*}
lh chroot_selinuxfs install ${*}
lh chroot_sysfs install ${*}
+ lh chroot_debianchroot install ${*}
+ lh chroot_dpkg install ${*}
+ lh chroot_sysv-rc install ${*}
lh chroot_hosts install ${*}
lh chroot_resolv install ${*}
lh chroot_hostname install ${*}
lh chroot_apt install ${*}
lh chroot_sources install ${*}
+ lh chroot_linux-image install ${*}
touch .lock
else
diff --git a/helpers/lh_chroot_dpkg b/helpers/lh_chroot_dpkg
index 7fd6e67..bf2950a 100755
--- a/helpers/lh_chroot_dpkg
+++ b/helpers/lh_chroot_dpkg
@@ -66,7 +66,10 @@ EOF
Create_lockfile .lock
# Restore start-stop-daemon program
- mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
+ if [ -e chroot/sbin/start-stop-daemon.orig ]
+ then
+ mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
+ fi
# Removing stage file
rm -f .stage/chroot_dpkg
--
live-helper
More information about the debian-live-changes
mailing list