projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60cd25
)
dracut.sh: for --include copy also the symbolic links
author
Harald Hoyer
<harald@redhat.com>
Wed, 11 Jul 2012 13:25:49 +0000
(15:25 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 11 Jul 2012 13:25:49 +0000
(15:25 +0200)
dracut.sh
patch
|
blob
|
history
diff --git
a/dracut.sh
b/dracut.sh
index
9be7cac
..
afd076a
100755
(executable)
--- a/
dracut.sh
+++ b/
dracut.sh
@@
-934,9
+934,9
@@
while pop include_src src && pop include_target tgt; do
mkdir -m 0755 -p "$s"
chmod --reference="$i" "$s"
fi
- cp --reflink=auto --sparse=auto -
pfLr
-t "$s" "$i"/*
+ cp --reflink=auto --sparse=auto -
fa
-t "$s" "$i"/*
else
- cp --reflink=auto --sparse=auto -
pfLr
-t "$s" "$i"
+ cp --reflink=auto --sparse=auto -
fa
-t "$s" "$i"
fi
done
fi