summaryrefslogtreecommitdiffstats
path: root/remote/modules/consolekit/consolekit.build
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/consolekit/consolekit.build')
-rw-r--r--remote/modules/consolekit/consolekit.build20
1 files changed, 20 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"
+}