diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2024-03-01 16:59:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 16:59:16 +0100 |
commit | fae73881baad4963709ef0f24e87eb1342a6ef0a (patch) | |
tree | d31d1166689845a24e7ac4f250b47daab9af229d /nixos/tests | |
parent | 8da5962221ddbe4f236ef9ef2f88f764888ec723 (diff) | |
parent | b75a29cb6ca9b5d2e4823622be84d10a6b2e299f (diff) |
Merge pull request #292561 from arianvp/fix-make-disk-image-systemd-boot-homeless-shelter-clobber
nixos/lib/make-disk-image.nix: fix systemd-boot-builder clobbering /homeless-shelter
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/qemu-vm-external-disk-image.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/qemu-vm-external-disk-image.nix b/nixos/tests/qemu-vm-external-disk-image.nix index a229fc5e39633..c481159511a02 100644 --- a/nixos/tests/qemu-vm-external-disk-image.nix +++ b/nixos/tests/qemu-vm-external-disk-image.nix @@ -69,5 +69,8 @@ in os.environ['NIX_DISK_IMAGE'] = tmp_disk_image.name machine.succeed("findmnt --kernel --source ${rootFsDevice} --target /") + + # Make sure systemd boot didn't clobber this + machine.succeed("[ ! -e /homeless-shelter ]") ''; } |