summaryrefslogtreecommitdiff
path: root/repo/edk2/edk2-ovmf.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
committerdavidovski <david@davidovski.xyz>2022-08-10 09:16:34 +0100
commitc1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch)
tree1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/edk2/edk2-ovmf.xibuild
parent9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff)
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/edk2/edk2-ovmf.xibuild')
-rw-r--r--repo/edk2/edk2-ovmf.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/edk2/edk2-ovmf.xibuild b/repo/edk2/edk2-ovmf.xibuild
new file mode 100644
index 0000000..eec9426
--- /dev/null
+++ b/repo/edk2/edk2-ovmf.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+DESC="Open Virtual Machine Firmware (OVMF) BIOS"
+
+build () {
+ echo "skip"
+}
+
+package () {
+ for fw in "$BUILD_ROOT"/Build/*/"$RELEASE"_"$TOOLCHAIN"/FV/*.fd; do
+ install -D $fw "$PKG_DEST"/usr/share/OVMF/${fw##*/}
+ done
+
+ # dont ship memfd for now to save space
+ rm -f "$PKG_DEST"/usr/share/OVMF/MEMFD.fd
+
+ install -d "$PKG_DEST"/usr/share/ovmf
+ ln -sf ../OVMF/OVMF.fd "$PKG_DEST"/usr/share/ovmf/bios.bin
+}