diff options
| author | Michael Neves | 2013-06-05 16:04:51 +0200 |
|---|---|---|
| committer | Michael Neves | 2013-06-05 16:04:51 +0200 |
| commit | 8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d (patch) | |
| tree | b9460f884c4e12b264a69b30654f9db6f3235ad7 /remote/modules/policykit | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d.tar.gz tm-scripts-8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d.tar.xz tm-scripts-8e012bfc9c1b82dfc19a8a177927616f4e7b4f2d.zip | |
host bridge interface
Diffstat (limited to 'remote/modules/policykit')
| -rw-r--r-- | remote/modules/policykit/policykit.build | 2 | ||||
| -rw-r--r-- | remote/modules/policykit/policykit.conf.zypper | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/remote/modules/policykit/policykit.build b/remote/modules/policykit/policykit.build index 7c2f3991..591c180f 100644 --- a/remote/modules/policykit/policykit.build +++ b/remote/modules/policykit/policykit.build @@ -15,7 +15,7 @@ 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" + [ -n "$POLPATH" ] && 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" diff --git a/remote/modules/policykit/policykit.conf.zypper b/remote/modules/policykit/policykit.conf.zypper index 87c0014e..c93181c5 100644 --- a/remote/modules/policykit/policykit.conf.zypper +++ b/remote/modules/policykit/policykit.conf.zypper @@ -5,7 +5,6 @@ REQUIRED_DIRECTORIES=" /etc/pam.d /etc/dbus-1 /etc/polkit-1 /usr/bin /usr/share/dbus-1 /usr/share/polkit-1 - /usr/lib/polkit-1 - /usr${ARCH_LIB_DIR}/polkit-1" + /usr/lib/polkit-1" REQUIRED_FILES="" REQUIRED_LIBRARIES="libmozjs185" |
