[SCM] live-helper branch, debian, updated. debian/2.0_a17-1
Daniel Baumann
daniel at debian.org
Fri Jul 2 16:25:39 UTC 2010
The following commit has been merged in the debian branch:
commit 358baae4a442acc4124012bf6dd0431e7bc5e0f7
Author: Alexander Sack <asac at linaro.org>
Date: Fri Jul 2 14:24:16 2010 +0200
Ensure that mtab is properly linked to /proc/mounts in binary_virtual-hdd.
diff --git a/helpers/binary_virtual-hdd b/helpers/binary_virtual-hdd
index 4e61c6b..aeb701a 100755
--- a/helpers/binary_virtual-hdd
+++ b/helpers/binary_virtual-hdd
@@ -70,6 +70,13 @@ if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
then
mv binary-virtual.img chroot
+ # hack to recreate mtab from chroot_hacks if its gone for some reason
+ if ! Chroot chroot "test -s /etc/mtab"
+ then
+ Chroot chroot "rm -f /etc/mtab"
+ Chroot chroot "ln -s /proc/mounts /etc/mtab"
+ fi
+
case "${LH_BINARY_FILESYSTEM}" in
ext2)
Chroot chroot "mkfs.ext2 -F binary-virtual.img"
--
live-helper
More information about the debian-live-changes
mailing list