Bug ID 1221849
Summary grub2 bash-completion failed with '_split_longopt: command not found'
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware All
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Bootloader
Assignee screening-team-bugs@suse.de
Reporter glin@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

After upgrading bash-completion to 2.12, grub2 bash-completion scripts stopped
to work and showed the error: _split_longopt: command not found.

It's because bash-completion 2.12 renamed '_split_longopt' as
'_comp__split_longopt', and bash-completion upstream(*) stated that
'_split_longopt' is a private API so it should not be used directly. Instead,
the script should use '_init_completion -s' or the newer '_comp_initialize -s'
to initialize 'cur', 'prev', and 'split'.

(*) https://github.com/scop/bash-completion/issues/1135


You are receiving this mail because: