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



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

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

 meta/classes/useradd.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index fd59969..82f4d52 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -4,6 +4,7 @@ inherit useradd_base
 # target sysroot, and shadow -native and -sysroot provide the utilities
 # and support files needed to add and modify user and group accounts
 DEPENDS_append_class-target = " base-files shadow-native shadow-sysroot shadow"
+PACKAGE_WRITE_DEPS += "shadow-native"
 
 # This preinstall function can be run in four different contexts:
 #


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