diff options
author | William A. Kennington III <william@wkennington.com> | 2014-08-30 15:48:54 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-09-02 09:16:13 -0700 |
commit | 4eff4afa3c4c26f7c23cda8c2f08e5046541494b (patch) | |
tree | 39c73798003bb26faf0e59bd3250aab63799566c /nixos/tests | |
parent | 87b6232f3a4c9903a432fffd8bc627f2c445a10d (diff) |
nixos/installer-test: Use nested subvolumes for root to test detection
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/installer.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 7765b7945c7a4..66ab2567e197f 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -462,8 +462,9 @@ in { "mount LABEL=root /mnt", "btrfs subvol create /mnt/boot", "btrfs subvol create /mnt/nixos", + "btrfs subvol create /mnt/nixos/default", "umount /mnt", - "mount -o defaults,subvol=nixos LABEL=root /mnt", + "mount -o defaults,subvol=nixos/default LABEL=root /mnt", "mkdir /mnt/boot", "mount -o defaults,subvol=boot LABEL=root /mnt/boot", ); |