Mageia Bugzilla – Attachment 6624 Details for
Bug 16030
install.sh in PC-BIOS mode needs to specify --directory for mixed BIOS mode hardware
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
add needed parameter
16030.diff (text/plain), 590 bytes, created by
Thierry Vignaud
on 2015-05-24 00:00:26 CEST
(
hide
)
Description:
add needed parameter
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-24 00:00:26 CEST
Size:
590 bytes
patch
obsolete
>diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm >index 08872ec..1442ec9 100644 >--- a/perl-install/bootloader.pm >+++ b/perl-install/bootloader.pm >@@ -1834,7 +1834,7 @@ sub write_grub2_install_sh { > my @options; > if (is_uefi()) { > } else { >- @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; >+ @options = '--directory=/usr/lib/grub/i386-pc', $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; > } > renamef($f, $f . ($o_backup_extension || '.old')); > output_with_perm($f, 0755, join(' ', 'grub2-install', @options));
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 08872ec..1442ec9 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1834,7 +1834,7 @@ sub write_grub2_install_sh { my @options; if (is_uefi()) { } else { - @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; + @options = '--directory=/usr/lib/grub/i386-pc', $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot; } renamef($f, $f . ($o_backup_extension || '.old')); output_with_perm($f, 0755, join(' ', 'grub2-install', @options));
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16030
:
6624
|
6632