3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #120251 from mschwaig/fix-make-disk-image-for-efi-2

make-disk-image: fix broken EFI image builds
This commit is contained in:
Lassulus 2021-04-26 10:04:00 +02:00 committed by GitHub
commit cdddbf59ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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