[SCM] debian-live/live-initramfs branch, master, updated. 1.130.1-2-3-g0209a10

Daniel Baumann daniel at debian.org
Sat Apr 26 13:37:04 UTC 2008


The following commit has been merged in the master branch:
commit 2a2317cb3a2ab46f01cc8fc05b4593e720fb4a31
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Apr 26 15:29:41 2008 +0200

    Handle non-existing klibc includes in live hook (Closes: #475783).

diff --git a/hooks/live b/hooks/live
index 3552f3a..e653aef 100755
--- a/hooks/live
+++ b/hooks/live
@@ -49,7 +49,10 @@ cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts
 # klibc dependencies
 for hidden_klibc_dep_library in libacl libblkid libuuid libdevmapper libattr
 do
-	cp -a /lib/${hidden_klibc_dep_library}.so.* "${DESTDIR}"/lib
+	if ls /lib/${hidden_klibc_dep_library}.so.* > /dev/null 2>&1
+	then
+		cp -a /lib/${hidden_klibc_dep_library}.so.* "${DESTDIR}"/lib
+	fi
 done
 
 # Handling other stuff

-- 
debian-live/live-initramfs



More information about the debian-live-changes mailing list