FS#41023 - [grub] parameter GRUB_OS_PROBER_SKIP_LIST not work

Attached to Project: Arch Linux
Opened by Martin (masux) - Saturday, 28 June 2014, 20:16 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 01 July 2014, 11:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Parameter GRUB_OS_PROBER_SKIP_LIST not work because of buggy /etc/grub.d/30_os-prober script.

Problematic part in /etc/grub.d/30_os-prober :
if [ "x${GRUB_OS_PROBER_SKIP_LIST}" != "x" -a "x`echo ${GRUB_OS_PROBER_SKIP_LIST} | grep -i -e '\b'${EXPUUID}'\b'`" != "x" ] ; then
echo "Skipped ${LONGNAME} on ${DEVICE} by user request." >&2
continue
fi
what debug gives for GRUB_OS_PROBER_SKIP_LIST="26A9-6E01 9bb0cf76-fe22-4958-92f7-bc0edb6ff116":
+ '[' 'x26A9-6E01 9bb0cf76-fe22-4958-92f7-bc0edb6ff116' '!=' x -a x '!=' x ']'


Additional info:
* package version(s)
x86_64 grub 1:2.02.beta2-4

what can be found in manual
'GRUB_OS_PROBER_SKIP_LIST'
List of space-separated FS UUIDs of filesystems to be ignored from
os-prober output. For efi chainloaders it's <UUID>@<EFI FILE>


Steps to reproduce:
grub installed on BIOS system
set GRUB_OS_PROBER_SKIP_LIST in /etc/default/grub
generate grub configuration with grub-mkconfig
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 01 July 2014, 11:03 GMT
Reason for closing:  Fixed

Loading...