GRMLBASE/44-grub: make sure directory /boot/grub exists
authorMichael Prokop <mika@grml.org>
Fri, 16 Dec 2011 09:50:43 +0000 (10:50 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 16 Dec 2011 09:50:45 +0000 (10:50 +0100)
Looks like directory /boot/grub doesn't necessarily exist
yet if grml2hd isn't installed.

Thanks: Thomas Koehler for the bugreport

etc/grml/fai/config/scripts/GRMLBASE/44-grub

index 7083d0c..0aac0f1 100755 (executable)
@@ -9,6 +9,8 @@
 set -e
 set -u
 
+$ROOTCMD mkdir -p /boot/grub
+
 $ROOTCMD grub-mkimage -d /usr/lib/grub/i386-pc \
   -o /boot/grub/core.img \
   biosdisk iso9660 \