From b1e439a046e0cd48709fb2ee33cafa9fe23284be Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Mon, 1 Aug 2016 14:59:43 -0700 Subject: 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 Signed-off-by: Ross Burton --- 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 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" -- cgit 1.2.3-korg