liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit af4cd2e05c3d2c677691f2dfd584ca48002d993d
parent a5e3fffa12ce468b31d8578da5209b9ce6a97bf7
Author: Daniel Barlow <dan@telent.net>
Date:   Tue, 27 Sep 2022 17:36:25 +0100

make mksquashfs fail on error

Diffstat:
Mpkgs/liminix-tools/builders/squashfs.nix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgs/liminix-tools/builders/squashfs.nix b/pkgs/liminix-tools/builders/squashfs.nix @@ -23,7 +23,7 @@ in runCommand "frob-squashfs" { } '' cp ${storefs} ./store.img chmod +w store.img - mksquashfs - store.img -no-recovery -quiet -no-progress -root-becomes store -p "/ d 0755 0 0" - mksquashfs - store.img -no-recovery -quiet -no-progress -root-becomes nix -p "/ d 0755 0 0" -pf ${pseudofiles} + mksquashfs - store.img -exit-on-error -no-recovery -quiet -no-progress -root-becomes store -p "/ d 0755 0 0" + mksquashfs - store.img -exit-on-error -no-recovery -quiet -no-progress -root-becomes nix -p "/ d 0755 0 0" -pf ${pseudofiles} cp store.img $out ''