runtime: Skip qemu-lite dependency for non-amd64 packaging

Non-amd64 arch need not have qemu-lite as part of
their packaging dependency.

Fixes: #191

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
Nitesh Konkar
2018-09-26 22:47:06 +05:30
parent 6613fc58b3
commit 7fa02b2ef5
3 changed files with 5 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ Package: kata-runtime
Architecture: @deb_arch@
Depends: kata-containers-image (>= @kata_osbuilder_version@), kata-linux-container (>= @linux_container_version@),
kata-proxy (>= @kata_proxy_version@), kata-shim (>= @kata_shim_version@),
kata-ksm-throttler(>= @ksm_throttler_version@), qemu-lite(>= @qemu_lite_version@),
kata-ksm-throttler(>= @ksm_throttler_version@), qemu-lite(>= @qemu_lite_version@) [amd64],
qemu-vanilla(>= @qemu_vanilla_version@)
Description:
An Open Containers Initiative (OCI) "runtime" that launches an Intel VT-x secured Kata Containers hypervisor, rather than a standard Linux container.

View File

@@ -15,7 +15,7 @@ Package: kata-runtime
Architecture: @deb_arch@
Depends: kata-containers-image (>= @kata_osbuilder_version@), kata-linux-container (>= @linux_container_version@),
kata-proxy (>= @kata_proxy_version@), kata-shim (>= @kata_shim_version@),
kata-ksm-throttler(>= @ksm_throttler_version@), qemu-lite(>= @qemu_lite_version@),
kata-ksm-throttler(>= @ksm_throttler_version@), qemu-lite(>= @qemu_lite_version@) [amd64],
qemu-vanilla(>= @qemu_vanilla_version@)
Description:
An Open Containers Initiative (OCI) "runtime" that launches an Intel VT-x secured Kata Containers hypervisor, rather than a standard Linux container.

View File

@@ -40,8 +40,10 @@ Requires: kata-linux-container >= @linux_container_version@
Requires: kata-proxy >= @kata_proxy_version@
Requires: kata-shim >= @kata_shim_version@
Requires: kata-ksm-throttler >= @ksm_throttler_version@
Requires: qemu-lite >= @qemu_lite_version@
Requires: qemu-vanilla >= @qemu_vanilla_version@
%ifarch x86_64
Requires: qemu-lite >= @qemu_lite_version@
%endif
# Patches
@RPM_PATCH_LIST@