mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user