summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive b/draklive
index 839ef3f..b15efb4 100755
--- a/draklive
+++ b/draklive
@@ -914,6 +914,7 @@ sub install_usb_bootloader {
my $grub_device_map = $live->{mnt} . $media_boot . "/grub/device.map";
unlink $grub_device_map;
foreach ($master_device, $boot_device) {
+ local $ENV{LD_LIBRARY_PATH} = $root . $live->get_lib_prefix;
run_($local_grub_install, '--root-directory=' . $live->{mnt}, '--no-floppy', $_)
or die "unable to run grub on $device\n";
}