Dominique Leuenberger 2024-01-03 13:54:04 +00:00 committed by Git OBS Bridge
commit 07b1556a52
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>