diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-09-15 19:13:09 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-09-15 19:13:09 +0000 |
commit | 16dad0203d2e3d410ae4e0baaac75aaceebc9831 (patch) | |
tree | 79fa2424383448e0256c3f707b0a637de1952da3 | |
parent | 47342b291c129fd6ef253dd4bb3dd6d2376b0405 (diff) | |
download | draklive-16dad0203d2e3d410ae4e0baaac75aaceebc9831.tar draklive-16dad0203d2e3d410ae4e0baaac75aaceebc9831.tar.gz draklive-16dad0203d2e3d410ae4e0baaac75aaceebc9831.tar.bz2 draklive-16dad0203d2e3d410ae4e0baaac75aaceebc9831.tar.xz draklive-16dad0203d2e3d410ae4e0baaac75aaceebc9831.zip |
set LD_LIBRARY_PATH to chroot libraries when running grub
-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"; } |