tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
makeInitrd: include dotfiles at root
Linus Heckemann
5 years ago
3a3c9c95
85e0ae78
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
build-support
kernel
make-initrd.sh
+2
-2
pkgs/build-support/kernel/make-initrd.sh
···
39
for PREP in $prepend; do
40
cat $PREP >> $out/initrd
41
done
42
-
(cd root && find * -print0 | xargs -0r touch -h -d '@1')
43
-
(cd root && find * -print0 | sort -z | cpio -o -H newc -R +0:+0 --reproducible --null | $compressor >> $out/initrd)
44
45
if [ -n "$makeUInitrd" ]; then
46
mv $out/initrd $out/initrd.gz
···
39
for PREP in $prepend; do
40
cat $PREP >> $out/initrd
41
done
42
+
(cd root && find * .[^.*] -exec touch -h -d '@1' '{}' +)
43
+
(cd root && find * .[^.*] -print0 | sort -z | cpio -o -H newc -R +0:+0 --reproducible --null | $compressor >> $out/initrd)
44
45
if [ -n "$makeUInitrd" ]; then
46
mv $out/initrd $out/initrd.gz