Skip to content

Commit

Permalink
kernel-install.eclass: Pass '-cpu max' on amd64 only
Browse files Browse the repository at this point in the history
It seems to break testing on 32-bit x86.

Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Aug 1, 2020
1 parent 5b52787 commit 5d473cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eclass/kernel-install.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,12 @@ kernel-install_test() {
"${T}/fs.qcow2" || die

cd "${T}" || die
local qemu_extra_args=
[[ ${qemu_arch} == x86_64 ]] && qemu_extra_args='-cpu max'
cat > run.sh <<-EOF || die
#!/bin/sh
exec qemu-system-${qemu_arch} \
-cpu max \
${qemu_extra_args} \
-m 256M \
-display none \
-no-reboot \
Expand Down

0 comments on commit 5d473cb

Please sign in to comment.