From: Joe Slater Date: Mon, 1 Aug 2016 21:59:43 +0000 (-0700) Subject: dpkg: put start-stop-daemon into a separate package X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24778 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e439a046e0cd48709fb2ee33cafa9fe23284be;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index da6985cd55e..58978015bd4 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"