summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2016-08-01 14:59:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-04 15:05:48 +0100
commitb1e439a046e0cd48709fb2ee33cafa9fe23284be (patch)
treec84215cce10fd3dec5de32a527d1e9ded4a3268e
parentbbff6b07256d63d318066eb1357763467532dd70 (diff)
downloadopenembedded-core-contrib-b1e439a046e0cd48709fb2ee33cafa9fe23284be.tar.gz
openembedded-core-contrib-b1e439a046e0cd48709fb2ee33cafa9fe23284be.tar.bz2
openembedded-core-contrib-b1e439a046e0cd48709fb2ee33cafa9fe23284be.zip
dpkg: put start-stop-daemon into a separate package
This is useful for supplying start-stop-daemon to images that do not include busybox. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index da6985cd55..58978015bd 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -72,4 +72,14 @@ RPROVIDES_update-alternatives-dpkg += "update-alternatives"
PACKAGES += "${PN}-perl"
FILES_${PN}-perl = "${libdir}/perl"
+# Split out start-stop-daemon to its own package. Note that it
+# is installed in a different directory than the one used for
+# the bitbake version.
+#
+PACKAGES =+ "${PN}-start-stop"
+FILES_${PN}-start-stop = "${sbindir}/start-stop-daemon"
+
+RDEPENDS_${PN} += "${PN}-start-stop"
+
+
BBCLASSEXTEND = "native"