summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive6
1 files changed, 3 insertions, 3 deletions
diff --git a/draklive b/draklive
index 65e50ea..2c15362 100755
--- a/draklive
+++ b/draklive
@@ -850,7 +850,7 @@ sub record_cdrom_master {
}
sub install_grub_to_image {
- my ($live, $media, $img) = @_;
+ my ($live, $media, $img, $opts) = @_;
my $grub_dir = "/boot/grub";
my $grub_script = $grub_dir . "/install.sh";
mkdir_p($live->{mnt} . $grub_dir);
@@ -924,7 +924,7 @@ sub install_usb_bootloader {
}
unlink $grub_device_map;
} else {
- install_grub_to_image($live, $media, $master_device);
+ install_grub_to_image($live, $media, $master_device, $opts);
}
}
} else {
@@ -1033,7 +1033,7 @@ sub record_harddisk_master {
or last;
} unless $opts->{boot_only};
- install_grub_to_image($live, $media, $hd->{file});
+ install_grub_to_image($live, $media, $hd->{file}, $opts);
foreach my $part (sort { $b->{mntpoint} cmp $a->{mntpoint} } @partitions) {
run_('umount', $part->{real_device});