tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
make-initrd: store all files with root as owner
Nikolay Amiantov
10 years ago
9c431b77
688ff0c0
+1
-1
1 changed file
expand all
collapse all
unified
split
pkgs
build-support
kernel
make-initrd.sh
+1
-1
pkgs/build-support/kernel/make-initrd.sh
···
39
39
for PREP in $prepend; do
40
40
cat $PREP >> $out/initrd
41
41
done
42
42
-
(cd root && find * -print0 | cpio -o -H newc --null | perl $cpioClean | $compressor >> $out/initrd)
42
42
+
(cd root && find * -print0 | cpio -o -H newc -R 0:0 --null | perl $cpioClean | $compressor >> $out/initrd)
43
43
44
44
if [ -n "$makeUInitrd" ]; then
45
45
mv $out/initrd $out/initrd.gz