forked from pool/virt-launcher-container
Accepting request 890456 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/890456 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-launcher-container?expand=0&rev=3
This commit is contained in:
commit
77307a50d1
@ -1,6 +1,7 @@
|
||||
# Define the tags for OBS and build script builds:
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%.%RELEASE%
|
||||
#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%-%%PKG_RELEASE%%
|
||||
|
||||
# virt-launcher container image
|
||||
# KUBEVIRTFROM defined in prjconf, e.g.
|
||||
@ -35,6 +36,12 @@ RUN zypper -n install \
|
||||
zypper clean -a && \
|
||||
mkdir -p /usr/share/kubevirt/virt-launcher
|
||||
|
||||
RUN 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-vars.bin /usr/share/OVMF/OVMF_VARS.fd && \
|
||||
ln -s ../qemu/ovmf-x86_64-smm-ms-code.bin /usr/share/OVMF/OVMF_CODE.secboot.fd && \
|
||||
ln -s ../qemu/ovmf-x86_64-smm-ms-vars.bin /usr/share/OVMF/OVMF_VARS.secboot.fd
|
||||
|
||||
COPY augconf /augconf
|
||||
|
||||
RUN augtool -f /augconf
|
||||
|
11
_service
11
_service
@ -1,16 +1,13 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service name="replace_using_package_version" mode="buildtime">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="regex">%%PKG_VERSION%%</param>
|
||||
<param name="parse-version">patch</param>
|
||||
<param name="package">kubevirt-virt-launcher</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="kubevirt_containers_meta"/>
|
||||
<service mode="buildtime" name="replace_using_env">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="var">PKG_VERSION</param>
|
||||
<param name="var">PKG_RELEASE</param>
|
||||
<param name="var">TAGPREFIX</param>
|
||||
<param name="var">LABELPREFIX</param>
|
||||
<param name="eval">source /usr/lib/obs/service/meta/virt-containers-meta</param>
|
||||
<param name="eval">pkg=kubevirt-virt-launcher source /usr/lib/obs/service/kubevirt_containers_meta</param>
|
||||
<param name="verbose">1</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="docker_label_helper"/>
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 23 06:59:34 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Tag the image with <version>-<release>
|
||||
- Create symlinks for OVMF binaries in expected location
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 18 07:57:40 UTC 2021 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user