projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
795d2ed
)
Handle non-existing klibc includes in live hook (Closes: #475783).
author
Daniel Baumann
<daniel@debian.org>
Sat, 26 Apr 2008 13:29:41 +0000
(15:29 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:47:59 +0000
(17:47 +0100)
hooks/live
patch
|
blob
|
history
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
- 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