Skip to content

Commit

Permalink
src/cmd-build: use anaconda on non-x86 builds
Browse files Browse the repository at this point in the history
Not using anaconda only works on x86_64 right now. Fall back to anaconda
for other arches.
  • Loading branch information
Andrew Jeddeloh committed Jun 20, 2019
1 parent 4e490eb commit 7ef9087
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cmd-build
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ build_image() {

if [ -n "${build_qemu}" ]; then
img_qemu=${imageprefix}-qemu.qcow2
build_image
if [ "$arch" == "x86_64" ]; then
build_image
else
run_virtinstall "${tmprepo}" "${ref}" "${PWD}"/"${img_base}" --variant=cloud
fi
/usr/lib/coreos-assembler/gf-platformid "$(pwd)"/"${img_base}" "$(pwd)"/"${img_qemu}" qemu
fi

Expand Down

0 comments on commit 7ef9087

Please sign in to comment.