From 1dc17cc4ad54d6b8af7639ca9d4abf648a82608b Mon Sep 17 00:00:00 2001 From: George McCollister Date: Thu, 14 Jan 2016 15:03:35 -0600 Subject: lldpd: use bash-completion.bbclass Use bash-completion.bbclass to package bash completions. Signed-off-by: George McCollister Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-daemons/lldpd/lldpd_0.9.0.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'meta-networking/recipes-daemons/lldpd') diff --git a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.0.bb b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.0.bb index 3d971698ec..9d5c8a57b4 100644 --- a/meta-networking/recipes-daemons/lldpd/lldpd_0.9.0.bb +++ b/meta-networking/recipes-daemons/lldpd/lldpd_0.9.0.bb @@ -14,7 +14,7 @@ SRC_URI = "\ SRC_URI[md5sum] = "ed0226129b0c90b3a45c273fe1aba8de" SRC_URI[sha256sum] = "300e4a590f7bf21c79d5ff94c2d6a69d0b2c34dbc21e17281496462a04ca80bc" -inherit autotools update-rc.d useradd systemd pkgconfig +inherit autotools update-rc.d useradd systemd pkgconfig bash-completion USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system -g lldpd --shell /bin/false lldpd" @@ -55,16 +55,11 @@ do_install_append() { touch ${D}${sysconfdir}/lldpd.conf } -PACKAGES =+ "${PN}-bash-completion ${PN}-zsh-completion" +PACKAGES =+ "${PN}-zsh-completion" FILES_${PN} += "${libdir}/sysusers.d" RDEPENDS_${PN} += "os-release" -FILES_${PN}-bash-completion += "${sysconfdir}/bash_completion.d/ \ - ${datadir}/bash-completion/ \ - " -RDEPENDS_${PN}-bash-completion += "bash" - FILES_${PN}-zsh-completion += "${datadir}/zsh/" # FIXME: zsh is broken in meta-oe so this cannot be enabled for now #RDEPENDS_${PN}-zsh-completion += "zsh" -- cgit v1.2.3-54-g00ecf