From 84fed37e18b17c419f0538c6b414e3b79ed2df8d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 19 Jan 2017 17:01:10 +0000 Subject: keymaps: Add PACKAGE_WRITE_DEPS for postinst The postinstall needs systemd-systemctl-native, mark the dependency Signed-off-by: Richard Purdie --- meta/recipes-bsp/keymaps/keymaps_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb index 5793a76529..34b208c5b3 100644 --- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb +++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb @@ -37,7 +37,7 @@ do_install () { fi } -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 sysvinit','true','false',d)}; then if [ -n "$D" ]; then -- cgit v1.2.3