[oe-commits] [openembedded-core] 30/32: dpkg: put start-stop-daemon into a separate package

git at git.openembedded.org git at git.openembedded.org
Thu Aug 4 14:23:38 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b1e439a046e0cd48709fb2ee33cafa9fe23284be
Author: Joe Slater <jslater at windriver.com>
AuthorDate: Mon Aug 1 14:59:43 2016 -0700

    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list