1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- set -e
- grubshell=@builddir@/grub-shell
- . "@builddir@/grub-core/modinfo.sh"
- case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
-
- *-emu)
- exit 77;;
-
- i386-qemu | i386-coreboot | mips-qemu_mips | mipsel-qemu_mips)
- exit 77;;
-
- mipsel-loongson)
- exit 77;;
-
- *-efi)
- exit 77;;
-
- i386-multiboot)
- exit 77;;
-
- sparc64-ieee1275)
- exit 77;;
-
- mipsel-arc | mips-arc)
- exit 77;;
-
- powerpc-ieee1275)
- exit 77;;
- esac
- v=$(echo hello | "${grubshell}" --boot=fd --mkrescue-arg="--compress=xz --fonts= --locales= --themes= -no-pad")
- if [ "$v" != "Hello World" ]; then
- exit 1
- fi
|