]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Disable kfreebsd-x86_64 and knetbsd-i386 bootchecks on non-pc
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 28 Apr 2010 07:41:34 +0000 (09:41 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 28 Apr 2010 07:41:34 +0000 (09:41 +0200)
conf/i386-pc.rmk
conf/i386.rmk

index 95a996c75368446c7d730a33fba3bea9886890c9..66d2447ad058abb6c43faa3eb5daa3b050f36067 100644 (file)
@@ -286,7 +286,11 @@ bootcheck-linux16-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(s
 bootcheck-linux16-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/tests/boot/linux.cfg grub-shell
        timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null
 
-BOOTCHECKS+=bootcheck-linux16-i386 bootcheck-linux16-x86_64
+BOOTCHECKS += bootcheck-linux16-i386 bootcheck-linux16-x86_64
+# It is defined in i386.rmk but requires ACPI
+BOOTCHECKS += bootcheck-kfreebsd-x86_64
+# It is defined in i386.rmk but crashes early on non-BIOS
+BOOTCHECKS += bootcheck-knetbsd-i386
 
 include $(srcdir)/conf/i386.mk
 include $(srcdir)/conf/common.mk
index 9007b2889e546a3ba333d4399cde108e6bb3e581..97becfc7be6cc525e334ad6e9ae5eda3a6b9c062 100644 (file)
@@ -157,8 +157,7 @@ bootcheck-linux-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64
        timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null
 
 BOOTCHECKS += bootcheck-linux-i386 bootcheck-linux-x86_64 \
-       bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \
-       bootcheck-knetbsd-i386 bootcheck-knetbsd-x86_64
+       bootcheck-kfreebsd-i386 bootcheck-knetbsd-x86_64
 
 .PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \
        bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \