summaryrefslogtreecommitdiff
path: root/repo/edk2/edk2-ovmf.xibuild
blob: eec9426c6e48027b0677fc7a5e4fdc12a9f96494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}