summaryrefslogtreecommitdiffstats
path: root/remote/tools/consolekit/consolekit.build
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-13 17:34:54 +0100
committerJonathan Bauer2013-03-13 17:34:54 +0100
commit28ffb58acc9ee84bc2ff78f0f9c6593b1f86e7a6 (patch)
tree0856ea5a4b0942236041e994d93982b49b70b4cb /remote/tools/consolekit/consolekit.build
parentplymouth for stage3.1 (diff)
parentdelete data/stage3.1. It can be found under remote/stage3.1 now. (diff)
downloadtm-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/consolekit.build')
-rw-r--r--remote/tools/consolekit/consolekit.build21
1 files changed, 21 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"
+}