projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle non-existing klibc includes in live hook (Closes: #475783).
[live-boot-grml.git]
/
hooks
/
live
diff --git
a/hooks/live
b/hooks/live
index
3552f3a
..
e653aef
100755
(executable)
--- 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
# 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
done
# Handling other stuff