diff options
| author | Jonathan Bauer | 2013-03-14 18:30:10 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-14 18:30:10 +0100 |
| commit | 765e0502c315d250ab8f671bc726fef6f63a026a (patch) | |
| tree | e5624ec583c98fd3202caefad9b37289d9cad348 /remote/modules/policykit/policykit.build | |
| parent | base -> base32 and started new base31 (diff) | |
| download | tm-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.build | 25 |
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" +} + |
