FS#64155 - [grub] os-prober script requires 'which' package to function, exits silently when 'which' is missing
Attached to Project:
Arch Linux
Opened by John (hyperflexed) - Thursday, 17 October 2019, 01:46 GMT
Last edited by Christian Hesse (eworm) - Monday, 28 October 2019, 18:44 GMT
Opened by John (hyperflexed) - Thursday, 17 October 2019, 01:46 GMT
Last edited by Christian Hesse (eworm) - Monday, 28 October 2019, 18:44 GMT
|
Details
Description:
The installation guide (wiki) claims that running 'grub-mkconfig' after installing the 'os-prober' package will detect other operating systems. As far as I can see, 'which' isn't included in the 'base' package group, nor is it required for 'grub'. This means that grub-mkconfig will not properly run the '30_os-prober' script under '/etc/grub.d/' (see line 33 of '30_os-prober' which assumes availability of 'which') Additional info: * package version(s): 2.04-2 Steps to reproduce: 1. create a fresh Arch install, pacstrap 'base', install 'grub', etc. 2. install 'os-prober' 3. mount partitions with alternate operating systems 4. run 'os-prober' manually, observe that alternate operating systems are properly detected 5. run 'grub-mkconfig', observe that alternate operating systems aren't detected Alternatively, just uninstall 'which' on a system where alternative OSes are already in the grub config, and observe that running 'grub-mkconfig' again doesn't detect the alternative OSes. |
This task depends upon
Closed by Christian Hesse (eworm)
Monday, 28 October 2019, 18:44 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in SVN
Monday, 28 October 2019, 18:44 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in SVN
Comment by
Eli Schwartz (eschwartz) - Friday,
18 October 2019, 02:57 GMT
https://lists.gnu.org/archive/html/grub-devel/2019-10/msg00026.html