]> code.ossystems Code Review - openembedded-core.git/commitdiff
dpkg: put start-stop-daemon into a separate package
authorJoe Slater <jslater@windriver.com>
Mon, 1 Aug 2016 21:59:43 +0000 (14:59 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Aug 2016 14:05:48 +0000 (15:05 +0100)
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>
meta/recipes-devtools/dpkg/dpkg.inc

index da6985cd55e372a5f4ca5403b3e93b16903a31c4..58978015bd452579a9aedf82d23e33476aa73a4d 100644 (file)
@@ -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"