remove unshare
Some checks failed
Build Project / build (push) Failing after 47s

This commit is contained in:
Dawid Sobczak 2025-04-20 09:25:22 +01:00
parent 15ca0301a6
commit af51df7530
3 changed files with 6 additions and 4 deletions

View file

@ -36,7 +36,7 @@ rm -f "$DESTDIR/store/5-go-beyond-using-nix/ZilchOS-core.iso"
# Inject ccache data, all stage5 ccache data we can find
if [[ "${USE_CCACHE-}" = 1 ]]; then
helpers/inject "$DESTDIR" pkgs/_2a0-ccache.pkg
unshare -nr chroot "$DESTDIR" /store/_2a0-ccache/bin/ccache -z
# unshare -nr chroot "$DESTDIR" /store/_2a0-ccache/bin/ccache -z
if [[ -e tmp/ccache/5-go-beyond-using-nix.tar.zstd ]]; then
tar -Izstd -xf tmp/ccache/5-go-beyond-using-nix.tar.zstd \
-C "$DESTDIR/ccache"
@ -74,7 +74,7 @@ tar -Izstd -cf "pkgs/custom-stage5.pkg" \
# Collect ccache back
if [[ "${USE_CCACHE-}" = 1 ]]; then
unshare -nr chroot "$DESTDIR" /store/_2a0-ccache/bin/ccache -sz
# unshare -nr chroot "$DESTDIR" /store/_2a0-ccache/bin/ccache -sz
tar -Izstd -cf "tmp/ccache/custom-stage5.tar.zstd" \
-C "$DESTDIR/ccache" .
fi