aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2015-09-02 15:24:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-02 23:51:16 +0100
commitaba3ef50d65e0dc8659a48bf98d0fb00dd44a6fc (patch)
tree9fdd0b1e94552407945343190b97175d61053f46 /meta
parent170cfa6a92effd197beb4b29704749a6a44deac7 (diff)
downloadopenembedded-core-contrib-aba3ef50d65e0dc8659a48bf98d0fb00dd44a6fc.tar.gz
debianutils: create package for run-parts
Also add an RDEPENDS to dpkg so it will still pull in run-parts. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/debianutils/debianutils_4.5.1.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-support/debianutils/debianutils_4.5.1.bb b/meta/recipes-support/debianutils/debianutils_4.5.1.bb
index 9e5dd702f8a..6b665fb2c3f 100644
--- a/meta/recipes-support/debianutils/debianutils_4.5.1.bb
+++ b/meta/recipes-support/debianutils/debianutils_4.5.1.bb
@@ -26,8 +26,17 @@ do_install_append() {
fi
}
+# Note that we package the update-alternatives name.
+#
+PACKAGES =+ "${PN}-run-parts"
+FILES_${PN}-run-parts = "${base_bindir}/run-parts.debianutils"
+
+RDEPENDS_${PN} += "${PN}-run-parts"
+
+
ALTERNATIVE_PRIORITY="100"
-ALTERNATIVE_${PN} = "add-shell installkernel remove-shell run-parts savelog tempfile which"
+ALTERNATIVE_${PN} = "add-shell installkernel remove-shell savelog tempfile which"
+ALTERNATIVE_${PN}-run-parts = "run-parts"
ALTERNATIVE_LINK_NAME[add-shell]="${sbindir}/add-shell"
ALTERNATIVE_LINK_NAME[installkernel]="${sbindir}/installkernel"