make-initrd: store all files with root as owner
This commit is contained in:
parent
688ff0c0dc
commit
9c431b77ff
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ mkdir -p $out
|
|||
for PREP in $prepend; do
|
||||
cat $PREP >> $out/initrd
|
||||
done
|
||||
(cd root && find * -print0 | cpio -o -H newc --null | perl $cpioClean | $compressor >> $out/initrd)
|
||||
(cd root && find * -print0 | cpio -o -H newc -R 0:0 --null | perl $cpioClean | $compressor >> $out/initrd)
|
||||
|
||||
if [ -n "$makeUInitrd" ]; then
|
||||
mv $out/initrd $out/initrd.gz
|
||||
|
|
Loading…
Reference in a new issue