diff options
| author | Michael Neves | 2013-03-13 18:55:32 +0100 |
|---|---|---|
| committer | Michael Neves | 2013-03-13 18:55:32 +0100 |
| commit | b6c7dac05b6d5cb5874e538732732e469205aac3 (patch) | |
| tree | 9733240244c1e7e45d5b3b13761c8b92a3a2d901 | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-b6c7dac05b6d5cb5874e538732732e469205aac3.tar.gz tm-scripts-b6c7dac05b6d5cb5874e538732732e469205aac3.tar.xz tm-scripts-b6c7dac05b6d5cb5874e538732732e469205aac3.zip | |
add polkit.service to data
| -rw-r--r-- | remote/tools/policykit/data/lib/systemd/system/polkitd.service | 7 | ||||
| -rw-r--r-- | remote/tools/policykit/policykit.build | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/remote/tools/policykit/data/lib/systemd/system/polkitd.service b/remote/tools/policykit/data/lib/systemd/system/polkitd.service new file mode 100644 index 00000000..d3f192d1 --- /dev/null +++ b/remote/tools/policykit/data/lib/systemd/system/polkitd.service @@ -0,0 +1,7 @@ +[Unit] +Description=Authenticate and Authorize Users to Run Privileged Tasks + +[Service] +Type=dbus +BusName=org.freedesktop.PolicyKit1 +ExecStart=/usr/lib/policykit-1/polkitd --no-debug diff --git a/remote/tools/policykit/policykit.build b/remote/tools/policykit/policykit.build index 08f89290..8d27edcb 100644 --- a/remote/tools/policykit/policykit.build +++ b/remote/tools/policykit/policykit.build @@ -16,6 +16,9 @@ build () { post_copy() { + # copy static policykit files to stage3.2 + cp -r ${TOOL_DIR}/${TOOL}/data/* ${INIT_DIR} + #Add Polkit User/Group/Shadow to Stage3.2 pinfo "Adding polkitd user to target system..." add_user "polkitd" |
