From: Harald Hoyer Date: Wed, 11 Jul 2012 13:25:49 +0000 (+0200) Subject: dracut.sh: for --include copy also the symbolic links X-Git-Tag: 021~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98eb6d57dffda383620f237eaee08c97bf35d863;p=thirdparty%2Fdracut.git dracut.sh: for --include copy also the symbolic links --- diff --git a/dracut.sh b/dracut.sh index 9be7cac7c..afd076ab0 100755 --- 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