1
0

Accepting request 1136523 from home:vulyanov:branches:Virtualization

- Fix firmware path for aarch64 (/usr/share/AAVMF)

OBS-URL: https://build.opensuse.org/request/show/1136523
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-launcher-container?expand=0&rev=48
This commit is contained in:
Vasily Ulyanov 2024-01-03 12:41:57 +00:00 committed by Git OBS Bridge
parent 288acd590b
commit 64b1ab3f44
2 changed files with 9 additions and 4 deletions

View File

@ -63,10 +63,9 @@ RUN zypper clean -a
RUN ln -s ncat /usr/bin/nc RUN ln -s ncat /usr/bin/nc
RUN mkdir -p /usr/share/OVMF
#!ArchExclusiveLine: x86_64 #!ArchExclusiveLine: x86_64
RUN if [ "$(uname -m)" = "x86_64" ]; then \ RUN if [ "$(uname -m)" = "x86_64" ]; then \
mkdir -p /usr/share/OVMF && \
ln -s ../qemu/ovmf-x86_64-code.bin /usr/share/OVMF/OVMF_CODE.fd && \ ln -s ../qemu/ovmf-x86_64-code.bin /usr/share/OVMF/OVMF_CODE.fd && \
ln -s ../qemu/ovmf-x86_64-vars.bin /usr/share/OVMF/OVMF_VARS.fd && \ ln -s ../qemu/ovmf-x86_64-vars.bin /usr/share/OVMF/OVMF_VARS.fd && \
ln -s ../qemu/ovmf-x86_64-code.bin /usr/share/OVMF/OVMF_CODE.cc.fd && \ ln -s ../qemu/ovmf-x86_64-code.bin /usr/share/OVMF/OVMF_CODE.cc.fd && \
@ -76,8 +75,9 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \
#!ArchExclusiveLine: aarch64 #!ArchExclusiveLine: aarch64
RUN if [ "$(uname -m)" = "aarch64" ]; then \ RUN if [ "$(uname -m)" = "aarch64" ]; then \
ln -s ../qemu/aavmf-aarch64-code.bin /usr/share/OVMF/AAVMF_CODE.fd && \ mkdir -p /usr/share/AAVMF && \
ln -s ../qemu/aavmf-aarch64-vars.bin /usr/share/OVMF/AAVMF_VARS.fd ; \ ln -s ../qemu/aavmf-aarch64-code.bin /usr/share/AAVMF/AAVMF_CODE.fd && \
ln -s ../qemu/aavmf-aarch64-vars.bin /usr/share/AAVMF/AAVMF_VARS.fd ; \
fi; fi;
# KubeVirt expects virtiofsd to be installed in /usr/libexec # KubeVirt expects virtiofsd to be installed in /usr/libexec

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 3 12:29:33 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Fix firmware path for aarch64 (/usr/share/AAVMF)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 8 14:08:15 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com> Wed Nov 8 14:08:15 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>