It appears that GRUB is not consistent with other applications when installing the bash completions script. I suggest the following patch:

diff --git a/util/bash-completion.d/Makefile.am b/util/bash-completion.d/Makefile.am
index 136287cf1..a15bef9c9 100644
--- a/util/bash-completion.d/Makefile.am
+++ b/util/bash-completion.d/Makefile.am
@@ -6,7 +6,7 @@ EXTRA_DIST = $(bash_completion_source)

 CLEANFILES = $(bash_completion_script) config.log

-bashcompletiondir = $(sysconfdir)/bash_completion.d
+bashcompletiondir = /usr/share/bash-completion/completions
 bashcompletion_DATA = $(bash_completion_script)

$(bash_completion_script): $(bash_completion_source) $(top_builddir)/config.status

------

We do have a simple workaround by just moving the file after installation, but that shouldn't be needed.

Also, is there a new stable release being planned? If so is there a target date? The last release was April 2017.


--  Bruce Dubbs
    linuxfromscratch.org


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to