summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive b/draklive
index a330a2b..8b676c2 100755
--- a/draklive
+++ b/draklive
@@ -707,6 +707,7 @@ sub install_grub_to_image {
my ($live, $img) = @_;
my $grub_dir = "/boot/grub";
my $grub_script = $grub_dir . "/install.sh";
+ mkdir_p($live->{mnt} . $grub_dir);
cp_af(glob_($live->get_system_root . "/lib/grub/i386-mandriva/*"), $live->{mnt} . $grub_dir);
open(my $grub, "| /sbin/grub --batch --no-floppy");