[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4137/8267] modutils-initsripts: Add PACKAGE_WRITE_DEPS for postinst
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4137/8267] modutils-initsripts: Add PACKAGE_WRITE_DEPS for postinst
- Date: Sun, 17 Dec 2017 01:36:52 +0000 (UTC)
commit d623c587119f7e9f990f873f8fe4c4ae8a835e8f
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: Thu Jan 19 17:01:10 2017 +0000
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>
.../modutils-initscripts/modutils-initscripts.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
b/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
index db670cf..0f3df55 100644
--- a/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
+++ b/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]