forked from pool/libguestfs
Add patch to collect a list of all called binaries from guestfsd patch mkinitrd to copy links (bnc#778149) OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=34
12 lines
457 B
Diff
12 lines
457 B
Diff
--- mkinitrd/scripts/setup-prepare.sh.orig 2012-08-30 18:06:04.000000000 +0000
|
|
+++ mkinitrd/scripts/setup-prepare.sh 2012-08-30 18:14:06.000000000 +0000
|
|
@@ -29,7 +29,7 @@
|
|
if [ -h "$1" ]; then
|
|
lnkTarget=$(readlink $1)
|
|
if [ -e $lnkTarget ];then
|
|
- cp -a $lnkTarget $2/$lnkTarget
|
|
+ cp -a --remove-destination $lnkTarget $2/
|
|
else
|
|
# This link points to something in the same directory
|
|
lnkSrc="$1"
|