diff options
| author | Simon Rettberg | 2013-09-03 17:42:51 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-09-03 17:42:51 +0200 |
| commit | b41d8ec2e258beaf90b472ea9089e0cd1ba4d19e (patch) | |
| tree | d5d6446821a19aa4e553b4a9de9fd5145d4e27d8 /remote/modules/policykit/policykit.build | |
| parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-b41d8ec2e258beaf90b472ea9089e0cd1ba4d19e.tar.gz tm-scripts-b41d8ec2e258beaf90b472ea9089e0cd1ba4d19e.tar.xz tm-scripts-b41d8ec2e258beaf90b472ea9089e0cd1ba4d19e.zip | |
Add consolekit and polkit
Diffstat (limited to 'remote/modules/policykit/policykit.build')
| -rw-r--r-- | remote/modules/policykit/policykit.build | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/remote/modules/policykit/policykit.build b/remote/modules/policykit/policykit.build deleted file mode 100644 index 52be1221..00000000 --- a/remote/modules/policykit/policykit.build +++ /dev/null @@ -1,24 +0,0 @@ -#tool/distro specific functions for fetching, building and installing dependencies - - -fetch_source () { - pinfo "Extracting from running system..." -} - -build () { - COPYLIST="$MODULE_DIR/list_dpkg_output" - [ -e "${COPYLIST}" ] && rm "${COPYLIST}" - - list_packet_files >> "${COPYLIST}" - tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" -} - -post_copy() { - COPYLIST="$MODULE_DIR/list_dpkg_output" - local POLPATH="$(grep '/polkitd$' "$COPYLIST" | head -1 | sed -e 's/[\/&]/\\&/g')" - [ -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" -} - |
