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/consolekit | |
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/consolekit')
-rw-r--r-- | remote/modules/consolekit/consolekit.build | 20 | ||||
-rw-r--r-- | remote/modules/consolekit/consolekit.conf | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/remote/modules/consolekit/consolekit.build b/remote/modules/consolekit/consolekit.build new file mode 100644 index 00000000..ac31f9ed --- /dev/null +++ b/remote/modules/consolekit/consolekit.build @@ -0,0 +1,20 @@ +#!/bin/bash + +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() { + mkdir -p "${TARGET_BUILD_DIR}/usr/lib/ConsoleKit/run-seat.d" + mkdir -p "${TARGET_BUILD_DIR}/etc/ConsoleKit/run-seat.d" + mkdir -p "${TARGET_BUILD_DIR}/etc/ConsoleKit/run-session.d" + mkdir -p "${TARGET_BUILD_DIR}/var/log/ConsoleKit" +} diff --git a/remote/modules/consolekit/consolekit.conf b/remote/modules/consolekit/consolekit.conf new file mode 100644 index 00000000..38f1718f --- /dev/null +++ b/remote/modules/consolekit/consolekit.conf @@ -0,0 +1,11 @@ +REQUIRED_PACKAGES="consolekit" +REQUIRED_BINARIES=" ck-history + ck-launch-session + ck-list-sessions + ck-log-system-start + ck-log-system-restart + ck-log-system-stop + console-kit-daemon" +REQUIRED_DIRECTORIES=" /usr/lib/ConsoleKit /etc /lib/systemd/system" +REQUIRED_FILES=" /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service + /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy" |