edk2-armvirt

Request a package to be made here. Make sure you have searched before requesting.

edk2-armvirt

Postby complify » Wed Dec 22, 2021 5:05 am

I have been using upstream's "edk2-armvirt" package for running LXD virtual machines with a Raspberry Pi 4B booting from UEFI. The package has 'arch=(any)' and installs successfully as-is (the package is just firmwire ".fd" files, a text license and a JSON file for qemu). "edk2-armvirt" is already listed as an optional dependency for https://archlinuxarm.org/packages/aarch ... arch-extra

Sidenote:
A bit more configuration is needed to actually get LXD to see the files. I got it to work by setting the LXD_OVMF_PATH environment variable through a systemd override file for lxd.service, and making two symlinks:

$this->bbcode_second_pass_code('', '
echo "[Service]
Environment=LXD_OVMF_PATH=/usr/share/edk2-armvirt/aarch64
"| tee /etc/systemd/system/lxd.service.d/override.conf

ln -s QEMU_CODE.fd /usr/share/edk2-armvirt/aarch64/OVMF_CODE.fd
ln -s QEMU_VARS.fd /usr/share/edk2-armvirt/aarch64/OVMF_VARS.fd
')
complify
 
Posts: 3
Joined: Wed Dec 22, 2021 4:27 am

Return to Package Requests

Who is online

Users browsing this forum: No registered users and 5 guests