Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526138 - sys-boot/grub-2.02_beta2-r2: QA issues with bash-completions
Summary: sys-boot/grub-2.02_beta2-r2: QA issues with bash-completions
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
: 621916 688862 (view as bug list)
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2014-10-20 18:30 UTC by Michał Górny
Modified: 2019-06-28 09:36 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-20 18:30:51 UTC
* Problems with installed bash completions were found:
 * 
 * 	grub: 'have' command is deprecated and must not be used.
 * 	grub: incorrect name, no completions for 'grub' command defined.
 * 	grub2-set-default: missing alias (symlink) for completed command.
 * 	grub2-mkrescue: missing alias (symlink) for completed command.
 * 	grub2-reboot: missing alias (symlink) for completed command.
 * 	grub2-install: missing alias (symlink) for completed command.
 * 	grub2-script-check: missing alias (symlink) for completed command.
 * 	grub2-editenv: missing alias (symlink) for completed command.
 * 	grub2-sparc64-setup: missing alias (symlink) for completed command.
 * 	grub2-mkfont: missing alias (symlink) for completed command.
 * 	grub2-mkpasswd-pbkdf2: missing alias (symlink) for completed command.
 * 	grub2-mkimage: missing alias (symlink) for completed command.
 * 	grub2-bios-setup: missing alias (symlink) for completed command.
 * 	grub2-mkconfig: missing alias (symlink) for completed command.
 * 	grub2-probe: missing alias (symlink) for completed command.

For a solution:

1. remove all those 'have' lines,

2. install completion file using one of the command names and use bashcomp_alias to create symlinks to other commands.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-12-04 09:38:05 UTC
+*grub-2.02_beta2-r4 (04 Dec 2014)
+
+  04 Dec 2014; Justin Lecher <jlec@gentoo.org> +grub-2.02_beta2-r4.ebuild,
+  +files/grub-2.02_beta2-bash-completions.patch, metadata.xml:
+  Fix QA issues with bash-completions, #526138
+
Comment 2 Mike Gilbert gentoo-dev 2014-12-07 17:04:43 UTC
(In reply to Justin Lecher from comment #1)

I have dropped this patch. Get something accepted upstream first.
Comment 3 Mike Gilbert gentoo-dev 2017-06-16 16:07:33 UTC
*** Bug 621916 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-06-28 09:36:50 UTC
*** Bug 688862 has been marked as a duplicate of this bug. ***