diff options
-rwxr-xr-x | draklive | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"; } |