mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-13 15:14:08 +00:00
Merge pull request #208 from nitkon/master
create-repo-branch: Skip repo branch qemu-lite for non-amd64
This commit is contained in:
commit
45a5613a91
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user