Blame 0081-dracut.sh-for-include-copy-also-the-symbolic-links.patch

Harald Hoyer 08211a
From 98eb6d57dffda383620f237eaee08c97bf35d863 Mon Sep 17 00:00:00 2001
Harald Hoyer 08211a
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 08211a
Date: Wed, 11 Jul 2012 15:25:49 +0200
Harald Hoyer 08211a
Subject: [PATCH] dracut.sh: for --include copy also the symbolic links
Harald Hoyer 08211a
Harald Hoyer 08211a
---
Harald Hoyer 08211a
 dracut.sh |    4 ++--
Harald Hoyer 08211a
 1 file changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer 08211a
Harald Hoyer 08211a
diff --git a/dracut.sh b/dracut.sh
Harald Hoyer 08211a
index 9be7cac..afd076a 100755
Harald Hoyer 08211a
--- a/dracut.sh
Harald Hoyer 08211a
+++ b/dracut.sh
Harald Hoyer 08211a
@@ -934,9 +934,9 @@ while pop include_src src && pop include_target tgt; do
Harald Hoyer 08211a
                         mkdir -m 0755 -p "$s"
Harald Hoyer 08211a
                         chmod --reference="$i" "$s"
Harald Hoyer 08211a
                     fi
Harald Hoyer 08211a
-                    cp --reflink=auto --sparse=auto -pfLr -t "$s" "$i"/*
Harald Hoyer 08211a
+                    cp --reflink=auto --sparse=auto -fa -t "$s" "$i"/*
Harald Hoyer 08211a
                 else
Harald Hoyer 08211a
-                    cp --reflink=auto --sparse=auto -pfLr -t "$s" "$i"
Harald Hoyer 08211a
+                    cp --reflink=auto --sparse=auto -fa -t "$s" "$i"
Harald Hoyer 08211a
                 fi
Harald Hoyer 08211a
             done
Harald Hoyer 08211a
         fi