Merge pull request #208 from nitkon/master

create-repo-branch: Skip repo branch qemu-lite for non-amd64
This commit is contained in:
Jose Carlos Venegas Munoz 2018-10-03 08:20:42 -05:00 committed by GitHub
commit 45a5613a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -43,10 +43,6 @@ main() {
pushd "${script_dir}"
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
update_cmd="./update.sh"
if [ -n "${PUSH}" ]; then

View File

@ -7,7 +7,6 @@
#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.
OBS_PKGS_PROJECTS=(
qemu-lite
qemu-vanilla
linux-container
kata-containers-image
@ -16,3 +15,7 @@ OBS_PKGS_PROJECTS=(
ksm-throttler
runtime
)
if [ "$(uname -m)" == "x86_64" ]; then
OBS_PKGS_PROJECTS=("qemu-lite" "${OBS_PKGS_PROJECTS[@]}")
fi