nixpkgs-suyu/nixos/lib
Bjørn Forsman 0ff4bb5f87 nixos: run parted with --script option
-s, --script: never prompts for user intervention

Sometimes the NixOS installer tests fail when they invoke parted, e.g.
https://hydra.nixos.org/build/62513826/nixlog/1. But instead of exiting
right there, the tests hang until the Nix builder times out (and kills
the build). With this change the tests would instead fail immediately,
which is preferred.

While at it, use "parted --script" treewide, so nobody gets build
timeout due to parted error (or misuse). (Only nixos/ use it, and only
non-interactive.)

A few instances already use the short option "-s", convert them to long
option "--short".
2017-10-14 15:29:02 +02:00
..
test-driver nixos tests: waitForWindow: output a list of windows we see prior to the final check 2017-06-20 21:16:35 -04:00
build-vms.nix
eval-config.nix
from-env.nix
make-channel.nix
make-disk-image.nix nixos: run parted with --script option 2017-10-14 15:29:02 +02:00
make-ext4-fs.nix make-ext4-fs: Fix modification timestamps in image 2017-07-29 22:03:43 +03:00
make-iso9660-image.nix
make-iso9660-image.sh
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-flags.nix
testing.nix nixos: Fix output path generation of runInMachine 2017-10-11 20:08:11 +02:00
utils.nix