[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] virt-aa-helper: allow riscv64 EDK II

Andrea Bolognani (@abologna) gitlab at salsa.debian.org
Fri Dec 13 21:30:37 GMT 2024



Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt


Commits:
7e373ad8 by Heinrich Schuchardt at 2024-12-10T23:02:44+01:00
virt-aa-helper: allow riscv64 EDK II

Debian has packaged EDK II for 64-bit RISC-V in directory
/usr/share/qemu-efi-riscv64/.

For usage with libvirt update the AppArmor helper.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

- - - - -


2 changed files:

- + debian/patches/backport/virt-aa-helper-allow-riscv64-EDK-II.patch
- debian/patches/series


Changes:

=====================================
debian/patches/backport/virt-aa-helper-allow-riscv64-EDK-II.patch
=====================================
@@ -0,0 +1,31 @@
+From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
+Date: Mon, 9 Dec 2024 12:41:10 +0100
+Subject: virt-aa-helper: allow riscv64 EDK II
+
+Debian has packaged EDK II for 64-bit RISC-V in directory
+/usr/share/qemu-efi-riscv64/.
+
+For usage with libvirt update the AppArmor helper.
+
+Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
+Reviewed-by: Andrea Bolognani <abologna at redhat.com>
+(cherry picked from commit c63bdd17b9f5c31a2511f173d60455b83d22c561)
+
+Forwarded: not-needed
+Origin: https://gitlab.com/libvirt/libvirt/-/commit/c63bdd17b9f5c31a2511f173d60455b83d22c561
+---
+ src/security/virt-aa-helper.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
+index e82b5de..1cf9d7a 100644
+--- a/src/security/virt-aa-helper.c
++++ b/src/security/virt-aa-helper.c
+@@ -481,6 +481,7 @@ valid_path(const char *path, const bool readonly)
+         "/usr/share/AAVMF/",
+         "/usr/share/qemu-efi/",              /* for AAVMF images */
+         "/usr/share/qemu-efi-aarch64/",
++        "/usr/share/qemu-efi-riscv64/",
+         "/usr/share/qemu/",                  /* SUSE path for OVMF and AAVMF images */
+         "/usr/lib/u-boot/",
+         "/usr/lib/riscv64-linux-gnu/opensbi",


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+backport/virt-aa-helper-allow-riscv64-EDK-II.patch
 debian/Debianize-libvirt-guests.patch
 debian/apparmor_profiles_local_include.patch
 debian/Use-sensible-editor-by-default.patch



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/7e373ad80d2f827be99cb498c2fb6ba736b4202b

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/7e373ad80d2f827be99cb498c2fb6ba736b4202b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20241213/11b7ea5c/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list