grub, memtest: Add memtest for grub-pc
This commit is contained in:
parent
7de3db560e
commit
1e2a05d9bc
5
features.in/grub/cfg.in/90memtest_bios.cfg
Normal file
5
features.in/grub/cfg.in/90memtest_bios.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
if [ "$grub_platform" = "pc" ]; then
|
||||||
|
menuentry $"Memory Test" --id 'memtest' {
|
||||||
|
linux16 /syslinux/memtest.bin
|
||||||
|
}
|
||||||
|
fi
|
@ -1,8 +1,9 @@
|
|||||||
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||||||
use/memtest: use/syslinux
|
use/memtest: use/syslinux use/grub
|
||||||
@$(call add_feature)
|
@$(call add_feature)
|
||||||
@$(call add,SYSTEM_PACKAGES,memtest86+)
|
@$(call add,SYSTEM_PACKAGES,memtest86+)
|
||||||
@$(call add,SYSLINUX_CFG,memtest)
|
@$(call add,SYSLINUX_CFG,memtest)
|
||||||
|
@$(call add,GRUB_CFG,memtest_bios)
|
||||||
else
|
else
|
||||||
use/memtest: ; @:
|
use/memtest: ; @:
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user