diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-03-09 14:46:42 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-03-09 14:46:42 +0000 |
commit | e1315e6063ebb0513a9ba02109b9aa66abb76d83 (patch) | |
tree | 6b73929d024e294c1afc0a15f5b31896af162600 /draklive | |
parent | c0dcb5fc0170183d49ee64972ad773f309914f5d (diff) | |
download | drakiso-e1315e6063ebb0513a9ba02109b9aa66abb76d83.tar drakiso-e1315e6063ebb0513a9ba02109b9aa66abb76d83.tar.gz drakiso-e1315e6063ebb0513a9ba02109b9aa66abb76d83.tar.bz2 drakiso-e1315e6063ebb0513a9ba02109b9aa66abb76d83.tar.xz drakiso-e1315e6063ebb0513a9ba02109b9aa66abb76d83.zip |
copy grub files from arched lib dir (reported by boklm)
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -898,8 +898,9 @@ sub install_grub_to_image { my $media_boot = $live->get_media_prefix('boot', $opts->{boot}); my $grub_dir = "$media_boot/grub"; my $grub_script = $grub_dir . "/install.sh"; + my $grub_src = first(glob_($live->get_system_root . "/lib/grub/*-mandriva")); mkdir_p($live->{mnt} . $grub_dir); - cp_af(glob_($live->get_system_root . "/lib/grub/i386-mandriva/*"), $live->{mnt} . $grub_dir); + cp_af(glob_("$grub_src/*"), $live->{mnt} . $grub_dir); my $part_idx = $media->find_boot_partition_index; my $grub_prefix = $media->find_partition_index('/boot') ? "/grub" : $grub_dir; |