diff options
| author | Simon Rettberg | 2013-04-04 17:48:34 +0200 |
|---|---|---|
| committer | sr | 2013-04-12 19:11:41 +0200 |
| commit | fc14af5d2f0696f9fef222b555aca093c6b2fe6e (patch) | |
| tree | 9c26e8126220f24a533e5559db1970fbcfa4b19d /remote/modules/policykit/policykit.build | |
| parent | Sync uids/gids by numeric value, don't remap (diff) | |
| download | tm-scripts-fc14af5d2f0696f9fef222b555aca093c6b2fe6e.tar.gz tm-scripts-fc14af5d2f0696f9fef222b555aca093c6b2fe6e.tar.xz tm-scripts-fc14af5d2f0696f9fef222b555aca093c6b2fe6e.zip | |
Fix Xsession startup, fix polkit+rsyslog on suse
Diffstat (limited to 'remote/modules/policykit/policykit.build')
| -rw-r--r-- | remote/modules/policykit/policykit.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remote/modules/policykit/policykit.build b/remote/modules/policykit/policykit.build index b6b70b7f..7c2f3991 100644 --- a/remote/modules/policykit/policykit.build +++ b/remote/modules/policykit/policykit.build @@ -6,7 +6,7 @@ fetch_source () { } build () { - COPYLIST="list_dpkg_output" + COPYLIST="$MODULE_DIR/list_dpkg_output" [ -e "${COPYLIST}" ] && rm "${COPYLIST}" list_packet_files >> "${COPYLIST}" @@ -14,7 +14,8 @@ build () { } post_copy() { - + local POLPATH="$(grep '/polkitd$' "$COPYLIST" | head -1 | sed -e 's/[\/&]/\\&/g')" + sed -i "s/%%POLKITD%%/${POLPATH}/g" "$TARGET_BUILD_DIR/etc/systemd/system/polkitd.service" #Add Polkit User/Group/Shadow to Stage3.2 pinfo "Adding polkitd user to target system..." add_user "polkitd" |
