summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 17:01:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 11:53:50 +0000
commit2ef9c181abcc00c75ea0fb1e53adb3a93790eeba (patch)
treed151d23e880366f4b12af9e8d02dfafba887de4e
parentd4f69f40aceaa19e02dfe5440127856cc86f2fc0 (diff)
downloadpoky-2ef9c181abcc00c75ea0fb1e53adb3a93790eeba.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/psplash/psplash_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb
index b0d6bb4070..44297e1a69 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"
110INITSCRIPT_NAME = "psplash.sh" 110INITSCRIPT_NAME = "psplash.sh"
111INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." 111INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ."
112 112
113DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" 113PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
114pkg_postinst_${PN} () { 114pkg_postinst_${PN} () {
115 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 115 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
116 if [ -n "$D" ]; then 116 if [ -n "$D" ]; then