Fix update-initrd(8) not atomically replacing the initrd.
This commit is contained in:
parent
fafaf86ddb
commit
dc1fb1ceca
|
@ -94,5 +94,6 @@ EOF
|
|||
fi
|
||||
mkdir -p "$output/boot"
|
||||
LC_AL=C ls -A "$tmp" |
|
||||
tar -C "$tmp" -cf "$output/boot/sortix.initrd" \
|
||||
tar -C "$tmp" -cf "$output/boot/sortix.initrd.new" \
|
||||
--numeric-owner --owner=0 --group=0 -T -
|
||||
mv "$output/boot/sortix.initrd.new" "$output/boot/sortix.initrd"
|
||||
|
|
Loading…
Reference in New Issue