diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-09-25 10:31:12 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-09-25 10:31:12 +0000 |
commit | 7e722df26b0f4fe6476c982fd79467348850d5eb (patch) | |
tree | eb238d5aae35a97a8d1942e0023d74d0a736df20 | |
parent | 2e83257e25befcdb901f8537cafe69f59b9ecab4 (diff) | |
download | drakiso-7e722df26b0f4fe6476c982fd79467348850d5eb.tar drakiso-7e722df26b0f4fe6476c982fd79467348850d5eb.tar.gz drakiso-7e722df26b0f4fe6476c982fd79467348850d5eb.tar.bz2 drakiso-7e722df26b0f4fe6476c982fd79467348850d5eb.tar.xz drakiso-7e722df26b0f4fe6476c982fd79467348850d5eb.zip |
copy grub files for chroot (master is not mounted when building replicator)
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1409,7 +1409,7 @@ sub record_cdrom_master { sub install_grub_to_image { my ($live, $img) = @_; - cp_af(glob_($live->{mnt} . "/lib/grub/i386-mandriva/*"), $live->{mnt} . "/boot/grub"); + cp_af(glob_(get_system_root($live) . "/lib/grub/i386-mandriva/*"), $live->{mnt} . "/boot/grub"); open(my $grub, "| /sbin/grub --no-floppy"); # using disk loopback fails, have to use image path print $grub <<EOF; |