mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
modutils-initsripts: Add PACKAGE_WRITE_DEPS for postinst
The postinstall needs systemd-systemctl-native, mark the dependency (From OE-Core rev: 5e8336b2d45da36c64039080f896338537ec234e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -22,7 +22,7 @@ do_install () {
|
||||
install -m 0755 ${WORKDIR}/modutils.sh ${D}${sysconfdir}/init.d/
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user