| Date: Mon, 16 Nov 2020 11:19:40 +0100
Append some extra flags to cpio calls.
Diffstat:
M zlibs/bootstrap | 4 ++--
M zlibs/imaging | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- |
| t@@ -213,7 +213,7 @@ bootstrap_cpio_pack()
-not -path "./dev/*" \
-a -not -path "./proc/*" \
-a -not -path "./sys/*" \
- | sudo cpio -o --format=newc \
+ | sudo cpio -oa --reproducible --format=newc \
| gzip - > "$_bootstrap_cpio" || { zerr; return 1; }
popd
}
t@@ -231,7 +231,7 @@ bootstrap_cpio_unpack()
sudo rm -rf "${strapdir}"/*
pushd "$strapdir" || { zerr; return 1; }
- zcat "$_bootstrap_cpio" | sudo cpio -id || { zerr; return 1; }
+ zcat "$_bootstrap_cpio" | sudo cpio -idmn --format=newc || { zerr; return 1; }
popd
sudo mkdir -p "$strapdir"/{boot,dev,proc,sys} |