diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-10-21 18:04:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-21 18:04:13 +0100 |
commit | e6ade691a5d39144118357b39bc11505db715d89 (patch) | |
tree | 70422b14c254e5ee9addb3e531f1ee8cdd7c59f4 /nixos/tests/installer.nix | |
parent | 68c8ffed7f2e200dda40baa11bd161f3142077ef (diff) | |
parent | 524714f7eaa37f599c978bc7cb6085934ca2c6b5 (diff) |
Merge pull request #259347 from ElvishJerricco/systemd-stage-1-zfs-sysusr-dependency
systemd 254: ZFS /usr fix with systemd-stage-1
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 3268a16967d75..5111cedf9256d 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -690,6 +690,9 @@ in { "zpool create rpool /dev/vda2", "zfs create -o mountpoint=legacy rpool/root", "mount -t zfs rpool/root /mnt", + "zfs create -o mountpoint=legacy rpool/root/usr", + "mkdir /mnt/usr", + "mount -t zfs rpool/root/usr /mnt/usr", "udevadm settle", ) ''; |