mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Installer test: Unmount filesystems after installation
Hopefully fixes failures like: http://hydra.nixos.org/build/10712833 This shouldn't be necessary, but it might be that the use of unionfs is interfering with a clean shutdown.
This commit is contained in:
parent
728d3476ba
commit
437962ebb2
@ -165,6 +165,10 @@ let
|
||||
# Do it again to make sure it's idempotent.
|
||||
$machine->succeed("nixos-install >&2");
|
||||
|
||||
$machine->succeed("umount /mnt/boot || true");
|
||||
$machine->succeed("umount /mnt");
|
||||
$machine->succeed("sync");
|
||||
|
||||
$machine->shutdown;
|
||||
|
||||
# Now see if we can boot the installation.
|
||||
|
Loading…
Reference in New Issue
Block a user