obs-packaging: Skip packaging qemu-lite for non-amd64 arch

qemu-lite is required to be packaged only
for amd64 arch. Skip it for all other
architectures.

Fixes: #152

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
Nitesh Konkar 2018-08-27 23:30:25 +05:30
parent a7ec33d0ff
commit d72fb8f397

View File

@ -65,6 +65,10 @@ eom
pushd "${script_dir}" pushd "${script_dir}"
for p in "${projects[@]}"; do for p in "${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