mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
dracut: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
44e7994dd1
commit
544f8ae0a3
|
|
@ -11,6 +11,8 @@ PV = "044+git${SRCREV}"
|
|||
SRCREV = "1bc3e733f96033a508841e97fe08da7a12851782"
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http"
|
||||
|
||||
inherit bash-completion
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OECONF = "--prefix=${prefix} \
|
||||
|
|
@ -41,10 +43,6 @@ do_install() {
|
|||
chown -R root:root ${D}/${prefix}/lib/dracut/modules.d
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-bash-completion"
|
||||
|
||||
FILES_${PN}-bash-completion = "${datadir}/bash-completion"
|
||||
|
||||
FILES_${PN} += "${prefix}/lib/kernel \
|
||||
${prefix}/lib/dracut \
|
||||
${systemd_unitdir} \
|
||||
|
|
@ -54,7 +52,6 @@ FILES_${PN}-dbg += "${prefix}/lib/dracut/.debug"
|
|||
CONFFILES_${PN} += "${sysconfdir}/dracut.conf"
|
||||
|
||||
RDEPENDS_${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd"
|
||||
RDEPENDS_${PN}-bash-completion = "bash-completion"
|
||||
|
||||
# This could be optimized a bit, but let's avoid non-booting systems :)
|
||||
RRECOMMENDS_${PN} = " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user