diff options
| author | Jonathan Bauer | 2013-03-13 17:34:54 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-13 17:34:54 +0100 |
| commit | 28ffb58acc9ee84bc2ff78f0f9c6593b1f86e7a6 (patch) | |
| tree | 0856ea5a4b0942236041e994d93982b49b70b4cb /remote/tools/consolekit | |
| parent | plymouth for stage3.1 (diff) | |
| parent | delete data/stage3.1. It can be found under remote/stage3.1 now. (diff) | |
| download | tm-scripts-28ffb58acc9ee84bc2ff78f0f9c6593b1f86e7a6.tar.gz tm-scripts-28ffb58acc9ee84bc2ff78f0f9c6593b1f86e7a6.tar.xz tm-scripts-28ffb58acc9ee84bc2ff78f0f9c6593b1f86e7a6.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/tools/consolekit')
| -rw-r--r-- | remote/tools/consolekit/consolekit.build | 21 | ||||
| -rw-r--r-- | remote/tools/consolekit/consolekit.conf | 11 |
2 files changed, 32 insertions, 0 deletions
diff --git a/remote/tools/consolekit/consolekit.build b/remote/tools/consolekit/consolekit.build new file mode 100644 index 00000000..ff7778aa --- /dev/null +++ b/remote/tools/consolekit/consolekit.build @@ -0,0 +1,21 @@ +#!/bin/bash + +fetch_source() { + pinfo "Extracting from running system..." +} + +build() { + BUILDDIR="${TOOL_DIR}/${TOOL}/build" + COPYLIST="list_dpkg_output" + [ -e "${COPYLIST}" ] && rm "${COPYLIST}" + + list_packet_files >> "${COPYLIST}" + tarcopy "$(cat "${COPYLIST}" | sort -u)" "${BUILDDIR}" + +} +post_copy() { + mkdir -p "${INIT_DIR}/usr/lib/ConsoleKit/run-seat.d" + mkdir -p "${INIT_DIR}/etc/ConsoleKit/run-seat.d" + mkdir -p "${INIT_DIR}/etc/ConsoleKit/run-session.d" + mkdir -p "${INIT_DIR}/var/log/ConsoleKit" +} diff --git a/remote/tools/consolekit/consolekit.conf b/remote/tools/consolekit/consolekit.conf new file mode 100644 index 00000000..38f1718f --- /dev/null +++ b/remote/tools/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" |
