summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 10:55:36 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 10:55:36 +0000
commit22c851f8ab5f9c0b606c5e10974480a15066e8f1 (patch)
treef2e9198e9552f72f3c4a12c68a17f7989e72e0d7
parent9a4e66f89131ae67249bdccdb08ac309ab972ea6 (diff)
downloaddraklive-22c851f8ab5f9c0b606c5e10974480a15066e8f1.tar
draklive-22c851f8ab5f9c0b606c5e10974480a15066e8f1.tar.gz
draklive-22c851f8ab5f9c0b606c5e10974480a15066e8f1.tar.bz2
draklive-22c851f8ab5f9c0b606c5e10974480a15066e8f1.tar.xz
draklive-22c851f8ab5f9c0b606c5e10974480a15066e8f1.zip
make grub directory
-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");