[Buildroot] [git commit] package/openrc: add bash-completion support
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Nov 1 18:10:56 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=4a2909ea48f31bb8558a4a8dcc32465cef698ee6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Adam Duskett <adam.duskett at amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/openrc/openrc.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk
index 908b44190a..e3f51d45d1 100644
--- a/package/openrc/openrc.mk
+++ b/package/openrc/openrc.mk
@@ -20,6 +20,12 @@ OPENRC_CONF_OPTS = \
-Drootprefix=/ \
-Dbranding="\"Buildroot $(BR2_VERSION_FULL)\""
+ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
+OPENRC_CONF_OPTS += -Dbash-completions=true
+else
+OPENRC_CONF_OPTS += -Dbash-completions=false
+endif
+
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
OPENRC_CONF_OPTS += -Dselinux=enabled
OPENRC_DEPENDENCIES += libselinux
More information about the buildroot
mailing list