[OE-core] [oe-core][PATCH 1/1] dpkg: put start-stop-daemon into a separate package

Joe Slater jslater at windriver.com
Mon Aug 1 21:59:43 UTC 2016


This is useful for supplying start-stop-daemon to
images that do not include busybox.

Signed-off-by: Joe Slater <jslater at windriver.com>
---
 meta/recipes-devtools/dpkg/dpkg.inc |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index da6985c..5897801 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"
-- 
1.7.9.5




More information about the Openembedded-core mailing list