2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/44-grub
3 # Purpose: build grub core.img to use outside
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
12 $ROOTCMD mkdir -p /boot/grub
14 if ifclass ARM64 ; then
15 echo "Skipping execution of script on ARM64"
19 # generate /boot/grub/core.img
20 $ROOTCMD grub-mkimage \
21 -d /usr/lib/grub/i386-pc \
23 -o /boot/grub/core.img \
27 ## END OF FILE #################################################################
28 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2