forked from ports/contrib
[notify] qemu-efi-bin: change paths, add aarch64 and arm .fd files
This commit is contained in:
parent
3b97a3639e
commit
3ffc7481d5
@ -1,26 +1,7 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/edk2-ovmf/
|
||||
drwxr-xr-x root/root usr/share/edk2-ovmf/ia32/
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/ia32/OVMF.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/ia32/OVMF_CODE.csm.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/ia32/OVMF_CODE.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/ia32/OVMF_CODE.secboot.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/ia32/OVMF_VARS.fd
|
||||
drwxr-xr-x root/root usr/share/edk2-ovmf/x64/
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/x64/OVMF.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/x64/OVMF_CODE.csm.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/x64/OVMF_CODE.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd
|
||||
-rw-r--r-- root/root usr/share/edk2-ovmf/x64/OVMF_VARS.fd
|
||||
drwxr-xr-x root/root usr/share/qemu/
|
||||
drwxr-xr-x root/root usr/share/qemu/firmware/
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/50-edk2-ovmf-i386-secure.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/50-edk2-ovmf-x86_64-secure.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-ovmf-i386.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/60-edk2-ovmf-x86_64.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/70-edk2-ovmf-i386-csm.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/70-edk2-ovmf-x86_64-csm.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/80-edk2-ovmf-ia32-on-x86_64-secure.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/81-edk2-ovmf-ia32-on-x86_64.json
|
||||
-rw-r--r-- root/root usr/share/qemu/firmware/82-edk2-ovmf-ia32-on-x86_64-csm.json
|
||||
drwxr-xr-x root/root usr/share/qemu-efi-bin/
|
||||
-rw-r--r-- root/root usr/share/qemu-efi-bin/aarch64.fd
|
||||
-rw-r--r-- root/root usr/share/qemu-efi-bin/arm.fd
|
||||
-rw-r--r-- root/root usr/share/qemu-efi-bin/i386.fd
|
||||
-rw-r--r-- root/root usr/share/qemu-efi-bin/x86_64.fd
|
||||
|
@ -1,5 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3/fQiu7YfeAu+pSK0sTd8QYf1UyJ8rYKvpKP0JvGjvQUwPGYi2kaCF0lWWWiUwkjeBirWyL9SRycxz2oPCPaagk=
|
||||
SHA256 (Pkgfile) = 114836301a37b4af647a4c19a1e3d6f90fa014b5e760f4d91fea1215ee70b510
|
||||
SHA256 (.footprint) = fb1867d0cfdec07cbaa05e7336f0cb041568a056deec7cfb8423a08b68191da7
|
||||
RWSagIOpLGJF39lmEsCvthMJIvAAHMxNIkhpgl+uVWYJuDiwnQtxh0wj3S26jF8TgNcniFUX1lrN8AB3krcIGyDP7W1uOZe16Ac=
|
||||
SHA256 (Pkgfile) = 1e42d06f6ca674b84d2842ac5cd723653eab3599695fd5022b7cd0b6fe1b8adc
|
||||
SHA256 (.footprint) = 8a3ad3ced0fc04688439192a9a6595d5954b4c01d779ab9123bfae0fd1f283d1
|
||||
SHA256 (edk2-ovmf-202202-1-any.pkg.tar.zst) = 0ade062d54c7cfdba202388951806d83b12e792680c356be53f572d997c13dc8
|
||||
SHA256 (qemu-aarch64-efi-20220412.fd) = 88aaf8097a05a1305077a32455f96f7b88029eed550a463bad7cc59deb01cae8
|
||||
SHA256 (qemu-arm-efi-20220412.fd) = 0433a890016caecf1eb62b4f11f4c4ff763dd40658260a4b5dbfd492025104d0
|
||||
|
@ -1,22 +1,34 @@
|
||||
# Description: EFI "BIOS" for qemu: -bios /usr/share/edk2-ovmf/x64/OVMF_CODE.fd
|
||||
# URL: https://archlinux.org/packages/extra/any/edk2-ovmf
|
||||
# (Really: https://github.com/tianocore/edk2)
|
||||
# Description: EFI "BIOS" for qemu : -bios /usr/share/qemu-efi-bin/MACHINE.fd
|
||||
# URL: https://github.com/tianocore/edk2)
|
||||
# Really a conglomerate of
|
||||
# - https://archlinux.org/packages/extra/any/edk2-ovmf
|
||||
# - https://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-ARM/RELEASE_CLANG38/QEMU_EFI.fd
|
||||
# - https://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-AARCH64/RELEASE_CLANG38/QEMU_EFI.fd
|
||||
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
||||
|
||||
name=qemu-efi-bin
|
||||
version=202202-1
|
||||
realn=edk2-ovmf
|
||||
release=1
|
||||
source=(https://ftp.sdaoden.eu/${realn}-${version}-any.pkg.tar.zst)
|
||||
lindate=20220412
|
||||
release=2
|
||||
source=(
|
||||
https://ftp.sdaoden.eu/${realn}-${version}-any.pkg.tar.zst
|
||||
https://ftp.sdaoden.eu/qemu-aarch64-efi-${lindate}.fd
|
||||
https://ftp.sdaoden.eu/qemu-arm-efi-${lindate}.fd
|
||||
)
|
||||
|
||||
build() {
|
||||
[ -d usr ] || # TODO pkgmk native support
|
||||
bsdtar -xf $(basename "$source")
|
||||
|
||||
mkdir -p "${PKG}"/usr/share/${realn} "${PKG}"/usr/share/qemu/firmware
|
||||
mkdir -p "${PKG}"/usr/share/${name}
|
||||
|
||||
cp -r usr/share/${realn} "${PKG}"/usr/share
|
||||
cp -r usr/share/qemu/firmware "${PKG}"/usr/share/qemu
|
||||
cp -r usr/share/${realn}/ia32/OVMF.fd \
|
||||
"${PKG}"/usr/share/${name}/i386.fd
|
||||
cp -r usr/share/${realn}/x64/OVMF.fd "${PKG}"/usr/share/${name}/x86_64.fd
|
||||
cp -r qemu-aarch64-efi-${lindate}.fd "${PKG}"/usr/share/${name}/aarch64.fd
|
||||
cp -r qemu-arm-efi-${lindate}.fd "${PKG}"/usr/share/${name}/arm.fd
|
||||
chmod 0644 "${PKG}"/usr/share/${name}/*.*
|
||||
}
|
||||
|
||||
# s-sh-mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user