+2
-2
nixos/lib/make-ext4-fs.nix
+2
-2
nixos/lib/make-ext4-fs.nix
···echo "Creating an EXT4 image of $bytes bytes (numInodes=$numInodes, numDataBlocks=$numDataBlocks)"-faketime "1970-01-01 00:00:00" mkfs.ext4 -L ${volumeLabel} -U 44444444-4444-4444-8888-888888888888 $out+faketime -f "1970-01-01 00:00:01" mkfs.ext4 -L ${volumeLabel} -U 44444444-4444-4444-8888-888888888888 $out# Populate the image contents by piping a bunch of commands to the `debugfs` tool from e2fsprogs.···# The debugfs tool doesn't terminate on error nor exit with a non-zero status. Check manually.