From: Richard Purdie Date: Thu, 19 Jan 2017 17:01:10 +0000 (+0000) Subject: psplash: Add PACKAGE_WRITE_DEPS for postinst X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ef9c181abcc00c75ea0fb1e53adb3a93790eeba;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git psplash: Add PACKAGE_WRITE_DEPS for postinst The postinstall needs systemd-systemctl-native, mark the dependency (From OE-Core rev: 14388db7f0b605536129c925aa667998777b4077) Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index b0d6bb40707..44297e1a69d 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb @@ -110,7 +110,7 @@ FILES_${PN} += "/mnt/.psplash" INITSCRIPT_NAME = "psplash.sh" INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." -DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" +PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" pkg_postinst_${PN} () { if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then if [ -n "$D" ]; then