summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-01-14 15:03:34 -0600
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-15 10:16:53 +0100
commit544f8ae0a32359ddd60d6652d1fbc0f8598c3916 (patch)
treefeabf717d0937c912956e8713fc69c36024739e8 /meta-initramfs
parent44e7994dd1e54c274e705ee3e47ee284475e2f9f (diff)
downloadmeta-openembedded-544f8ae0a32359ddd60d6652d1fbc0f8598c3916.tar.gz
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>
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-devtools/dracut/dracut_git.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
index 0c7a8b901..5a8c6e807 100644
--- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
+++ b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
@@ -11,6 +11,8 @@ PV = "044+git${SRCREV}"
11SRCREV = "1bc3e733f96033a508841e97fe08da7a12851782" 11SRCREV = "1bc3e733f96033a508841e97fe08da7a12851782"
12SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http" 12SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http"
13 13
14inherit bash-completion
15
14S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
15 17
16EXTRA_OECONF = "--prefix=${prefix} \ 18EXTRA_OECONF = "--prefix=${prefix} \
@@ -41,10 +43,6 @@ do_install() {
41 chown -R root:root ${D}/${prefix}/lib/dracut/modules.d 43 chown -R root:root ${D}/${prefix}/lib/dracut/modules.d
42} 44}
43 45
44PACKAGES =+ "${PN}-bash-completion"
45
46FILES_${PN}-bash-completion = "${datadir}/bash-completion"
47
48FILES_${PN} += "${prefix}/lib/kernel \ 46FILES_${PN} += "${prefix}/lib/kernel \
49 ${prefix}/lib/dracut \ 47 ${prefix}/lib/dracut \
50 ${systemd_unitdir} \ 48 ${systemd_unitdir} \
@@ -54,7 +52,6 @@ FILES_${PN}-dbg += "${prefix}/lib/dracut/.debug"
54CONFFILES_${PN} += "${sysconfdir}/dracut.conf" 52CONFFILES_${PN} += "${sysconfdir}/dracut.conf"
55 53
56RDEPENDS_${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" 54RDEPENDS_${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd"
57RDEPENDS_${PN}-bash-completion = "bash-completion"
58 55
59# This could be optimized a bit, but let's avoid non-booting systems :) 56# This could be optimized a bit, but let's avoid non-booting systems :)
60RRECOMMENDS_${PN} = " \ 57RRECOMMENDS_${PN} = " \