mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #11998 from abbradar/initrd-root
make-initrd: store all files with root as owner
This commit is contained in:
commit
de9634bba3
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