diff options
author | Lassulus | 2021-04-26 10:04:00 +0200 |
---|---|---|
committer | GitHub | 2021-04-26 10:04:00 +0200 |
commit | cdddbf59eaef2b80680d888c5dd11056ef40e447 (patch) | |
tree | 2dffda5b1ff41106f1480b6c58fbb287099d9ad6 /nixos/lib | |
parent | b516dbfbd91676371f03ea81a0c5dc7e343fde02 (diff) | |
parent | f20ae954d57f7fa4f007a000291dc1644036570f (diff) |
Merge pull request #120251 from mschwaig/fix-make-disk-image-for-efi-2
make-disk-image: fix broken EFI image builds
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/make-disk-image.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/lib/make-disk-image.nix b/nixos/lib/make-disk-image.nix index 023d0791a5c7..88c87bcd568e 100644 --- a/nixos/lib/make-disk-image.nix +++ b/nixos/lib/make-disk-image.nix @@ -283,6 +283,9 @@ in pkgs.vmTools.runInLinuxVM ( # Some tools assume these exist ln -s vda /dev/xvda ln -s vda /dev/sda + # make systemd-boot find ESP without udev + mkdir /dev/block + ln -s /dev/vda1 /dev/block/254:1 mountPoint=/mnt mkdir $mountPoint |