diff options
| author | Daniel Baumann <daniel@debian.org> | 2008-04-26 15:29:41 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:47:59 +0100 |
| commit | 3d4b86718ca4cdae8c6ead03035abd561a5d5728 (patch) | |
| tree | a4d296673217f5b85f47d6e392b1d78f731b0c05 | |
| parent | 795d2ed144c5dccfb6d51ade2224e180d7b422ea (diff) | |
| download | live-boot-3d4b86718ca4cdae8c6ead03035abd561a5d5728.tar.gz live-boot-3d4b86718ca4cdae8c6ead03035abd561a5d5728.zip | |
Handle non-existing klibc includes in live hook (Closes: #475783).
| -rwxr-xr-x | hooks/live | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |
