summaryrefslogtreecommitdiffstats
path: root/remote/modules/policykit/policykit.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-14 18:30:10 +0100
committerJonathan Bauer2013-03-14 18:30:10 +0100
commit765e0502c315d250ab8f671bc726fef6f63a026a (patch)
treee5624ec583c98fd3202caefad9b37289d9cad348 /remote/modules/policykit/policykit.build
parentbase -> base32 and started new base31 (diff)
downloadtm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.tar.gz
tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.tar.xz
tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.zip
restructuring...
Diffstat (limited to 'remote/modules/policykit/policykit.build')
-rw-r--r--remote/modules/policykit/policykit.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/remote/modules/policykit/policykit.build b/remote/modules/policykit/policykit.build
new file mode 100644
index 00000000..6a03b81c
--- /dev/null
+++ b/remote/modules/policykit/policykit.build
@@ -0,0 +1,25 @@
+#tool/distro specific functions for fetching, building and installing dependencies
+
+
+fetch_source () {
+ pinfo "Extracting from running system..."
+}
+
+build () {
+ COPYLIST="list_dpkg_output"
+ [ -e "${COPYLIST}" ] && rm "${COPYLIST}"
+
+ list_packet_files >> "${COPYLIST}"
+ tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"
+}
+
+post_copy() {
+
+ # copy static policykit files to stage3.2
+ cp -r ${MODULE_BUILD_DIR}/data/* ${TARGET_BUILD_DIR}
+
+ #Add Polkit User/Group/Shadow to Stage3.2
+ pinfo "Adding polkitd user to target system..."
+ add_user "polkitd"
+}
+