[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4131/8267] systemd: Add PACKAGE_WRITE_DEPS for postinst



commit 94a648f9f5af6edb0a6a75259eebeacc8c028c4d
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Thu Jan 19 17:01:10 2017 +0000

    systemd: Add PACKAGE_WRITE_DEPS for postinst
    
    The postinstall needs systemd-systemctl-native, mark the dependency
    
    (From OE-Core rev: d2fb76e4aed927e9900de2e87e7e1b792bc88651)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/systemd.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 0b1c228..1ce0b94 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -17,6 +17,7 @@ python __anonymous() {
     # files.
     if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
         d.appendVar("DEPENDS", " systemd-systemctl-native")
+        d.appendVar("PACKAGE_WRITE_DEPS", " systemd-systemctl-native")
         if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
             d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]