diff options
| author | Simon Rettberg | 2013-09-03 17:42:51 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-09-30 13:22:03 +0200 |
| commit | bae5ec1ed4ca07b552d6523e424a0ace5fa86933 (patch) | |
| tree | d5d6446821a19aa4e553b4a9de9fd5145d4e27d8 /remote/modules/policykit/policykit.build | |
| parent | [vbox] Readme file with notes on pathced scripts (diff) | |
| download | tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.tar.gz tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.tar.xz tm-scripts-bae5ec1ed4ca07b552d6523e424a0ace5fa86933.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" -} - |
