mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-26 11:39:29 +00:00
obs-packaging: Skip packaging qemu-lite for non-amd64 arch
Skip packaging for qemu-lite when releasing packages for non-amd64 archs. Fixes: #206 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
parent
7fa02b2ef5
commit
596fb8ce32
@ -43,10 +43,6 @@ main() {
|
|||||||
|
|
||||||
pushd "${script_dir}"
|
pushd "${script_dir}"
|
||||||
for p in "${OBS_PKGS_PROJECTS[@]}"; do
|
for p in "${OBS_PKGS_PROJECTS[@]}"; do
|
||||||
if [[ "$GO_ARCH" != "amd64" && "$p" == "qemu-lite" ]]; then
|
|
||||||
echo "Skipping packaging qemu-lite as its only for amd64 arch"
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
pushd "$p" >>/dev/null
|
pushd "$p" >>/dev/null
|
||||||
update_cmd="./update.sh"
|
update_cmd="./update.sh"
|
||||||
if [ -n "${PUSH}" ]; then
|
if [ -n "${PUSH}" ]; then
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#Note:Lets update qemu and the kernel first, they take longer to build.
|
#Note:Lets update qemu and the kernel first, they take longer to build.
|
||||||
#Note: runtime is build at the end to get the version from all its dependencies.
|
#Note: runtime is build at the end to get the version from all its dependencies.
|
||||||
OBS_PKGS_PROJECTS=(
|
OBS_PKGS_PROJECTS=(
|
||||||
qemu-lite
|
|
||||||
qemu-vanilla
|
qemu-vanilla
|
||||||
kernel
|
kernel
|
||||||
kata-containers-image
|
kata-containers-image
|
||||||
@ -16,3 +15,7 @@ OBS_PKGS_PROJECTS=(
|
|||||||
ksm-throttler
|
ksm-throttler
|
||||||
runtime
|
runtime
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if [ "$(uname -m)" == "x86_64" ]; then
|
||||||
|
OBS_PKGS_PROJECTS=("qemu-lite" "${OBS_PKGS_PROJECTS[@]}")
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user