diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-01-14 15:03:34 -0600 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-15 10:16:53 +0100 |
commit | 544f8ae0a32359ddd60d6652d1fbc0f8598c3916 (patch) | |
tree | feabf717d0937c912956e8713fc69c36024739e8 /meta-initramfs | |
parent | 44e7994dd1e54c274e705ee3e47ee284475e2f9f (diff) | |
download | meta-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.bb | 7 |
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}" | |||
11 | SRCREV = "1bc3e733f96033a508841e97fe08da7a12851782" | 11 | SRCREV = "1bc3e733f96033a508841e97fe08da7a12851782" |
12 | SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http" | 12 | SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http" |
13 | 13 | ||
14 | inherit bash-completion | ||
15 | |||
14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
15 | 17 | ||
16 | EXTRA_OECONF = "--prefix=${prefix} \ | 18 | EXTRA_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 | ||
44 | PACKAGES =+ "${PN}-bash-completion" | ||
45 | |||
46 | FILES_${PN}-bash-completion = "${datadir}/bash-completion" | ||
47 | |||
48 | FILES_${PN} += "${prefix}/lib/kernel \ | 46 | FILES_${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" | |||
54 | CONFFILES_${PN} += "${sysconfdir}/dracut.conf" | 52 | CONFFILES_${PN} += "${sysconfdir}/dracut.conf" |
55 | 53 | ||
56 | RDEPENDS_${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" | 54 | RDEPENDS_${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" |
57 | RDEPENDS_${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 :) |
60 | RRECOMMENDS_${PN} = " \ | 57 | RRECOMMENDS_${PN} = " \ |