From 4d035bc4ed1e23270320c0f0f473ef2578199bc8 Mon Sep 17 00:00:00 2001 From: Michael Neves Date: Wed, 13 Mar 2013 17:04:18 +0100 Subject: consolekit from system --- remote/tools/consolekit/consolekit.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 remote/tools/consolekit/consolekit.build (limited to 'remote/tools/consolekit/consolekit.build') 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" +} -- cgit v1.2.3-55-g7522