initscripts: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency (From OE-Core rev: 853f05b4d81c9af0fe1050cd15f13b8d3f9a93a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7ba7380d77
commit
d4f69f40ac
|
@ -44,7 +44,7 @@ KERNEL_VERSION = ""
|
||||||
|
|
||||||
inherit update-alternatives
|
inherit update-alternatives
|
||||||
DEPENDS_append = " update-rc.d-native"
|
DEPENDS_append = " update-rc.d-native"
|
||||||
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)}"
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-functions"
|
PACKAGES =+ "${PN}-functions"
|
||||||
RDEPENDS_${PN} = "${PN}-functions \
|
RDEPENDS_${PN} = "${PN}-functions \
|
||||||
|
|
Loading…
Reference in New Issue