summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-18 22:48:14 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-18 22:49:26 +0200
commit5c43b76103ee77ca9d25f65e8c2e256ba898fcb4 (patch)
tree31beb7d2089b925677713456235926d99a76574e /eclass
parentdev-python/scrypt: Remove old (diff)
downloadgentoo-5c43b76103ee77ca9d25f65e8c2e256ba898fcb4.tar.gz
gentoo-5c43b76103ee77ca9d25f65e8c2e256ba898fcb4.tar.bz2
gentoo-5c43b76103ee77ca9d25f65e8c2e256ba898fcb4.zip
kernel-install.eclass: Run tests with '-cpu max'
Since dracut is using host system executables, qemu needs to be able to execute these executables independently of the CFLAGS used by the user. For this reason make sure to enable all supported instruction sets rather than the default. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-install.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
index ab886d28faf0..982cf7b08b4d 100644
--- a/eclass/kernel-install.eclass
+++ b/eclass/kernel-install.eclass
@@ -49,7 +49,7 @@ SRC_URI+="
https://dev.gentoo.org/~mgorny/dist/tinycorelinux-${TCL_VER}-amd64.qcow2
)
x86? (
- https://dev.gentoo.org/~mgorny/dist/tinycorelinux-${TCL_VER}-x86.qcow2
+ https://dev.gentoo.org/~mgorny/dist/tinycorelinux-${TCL_VER}-x86.qcow2
)
)"
@@ -231,6 +231,7 @@ kernel-install_test() {
cat > run.sh <<-EOF || die
#!/bin/sh
exec qemu-system-${qemu_arch} \
+ -cpu max \
-m 256M \
-display none \
-no-reboot \