Move squashfs into flavour-specific path
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 44-grub
1 #!/bin/bash
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 ################################################################################
8
9 set -e
10 set -u
11
12 $ROOTCMD mkdir -p /boot/grub
13
14 $ROOTCMD grub-mkimage -d /usr/lib/grub/i386-pc \
15   -o /boot/grub/core.img \
16   biosdisk iso9660 fat \
17   --format=i386-pc
18
19 ## END OF FILE #################################################################
20 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2