summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-25 10:31:12 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-25 10:31:12 +0000
commit7e722df26b0f4fe6476c982fd79467348850d5eb (patch)
treeeb238d5aae35a97a8d1942e0023d74d0a736df20
parent2e83257e25befcdb901f8537cafe69f59b9ecab4 (diff)
downloaddrakiso-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-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 14138fb..86e2ea2 100755
--- a/draklive
+++ b/draklive
@@ -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;