diff options
author | michael | 2013-02-20 18:39:18 +0100 |
---|---|---|
committer | michael | 2013-02-20 18:39:18 +0100 |
commit | 6c466d448bb63ca07544cf9c8da06ffc093e4d3b (patch) | |
tree | 891ad7f42f777ee2792dd123e26039629e0c1a05 /remote/tools/policykit/policykit.build | |
parent | add aufs, nfs, sshd to DEPS (diff) | |
download | tm-scripts-6c466d448bb63ca07544cf9c8da06ffc093e4d3b.tar.gz tm-scripts-6c466d448bb63ca07544cf9c8da06ffc093e4d3b.tar.xz tm-scripts-6c466d448bb63ca07544cf9c8da06ffc093e4d3b.zip |
add user polkitd
Diffstat (limited to 'remote/tools/policykit/policykit.build')
-rw-r--r-- | remote/tools/policykit/policykit.build | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/remote/tools/policykit/policykit.build b/remote/tools/policykit/policykit.build index ef08710e..b027cc85 100644 --- a/remote/tools/policykit/policykit.build +++ b/remote/tools/policykit/policykit.build @@ -1,4 +1,5 @@ #tool/distro specific functions for fetching, building and installing dependencies + fetch_source () { if [ ! -e .fetched_source ]; then @@ -42,11 +43,11 @@ build () { [ ! -d $FILE ] && echo $FILE >> $COPYLIST done done - fi - # prepare target dir & copy there - [ ! -d $BUILDDIR ] && mkdir -p $BUILDDIR - tar -cpv $(cat $COPYLIST|sort -u) | tar -xpv -C $BUILDDIR + # prepare target dir & copy there + [ ! -d $BUILDDIR ] && mkdir -p $BUILDDIR + tar -cpv $(cat $COPYLIST|sort -u) | tar -xpv -C $BUILDDIR + fi cd - touch .built @@ -55,5 +56,10 @@ build () { } post_copy() { - : + + #Add Polkit User/Group/Shadow to Stage3.2 + echo "polkitd:!:15756::::::" >> ${INIT_DIR}/etc/shadow + echo "polkitd:x:999:999:User for polkitd:/:/sbin/nologin" >> ${INIT_DIR}/etc/passwd + echo "polkitd:x:999:" >> ${INIT_DIR}/etc/group + } |