]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: set ownership to root.root for all files
authorHarald Hoyer <harald@redhat.com>
Fri, 14 Aug 2009 14:18:05 +0000 (16:18 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Aug 2009 15:27:49 +0000 (17:27 +0200)
dracut

diff --git a/dracut b/dracut
index f738a63a8c7dc11d8dbd7e6838c074e515c247f2..6e470777cb8c8a84ddb2793225f2503fccda8cea 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -238,7 +238,7 @@ if [ "$do_strip" = "yes" ] ; then
     done
 fi
 
-( cd "$initdir"; find . |cpio -H newc -o |gzip -9 > "$outfile"; )
+( cd "$initdir"; find . |cpio -R 0:0 -H newc -o |gzip -9 > "$outfile"; )
 
 [[ "$beverbose" = "yes" ]] && ls -lh "$outfile"