summaryrefslogtreecommitdiffstats
path: root/remote/tools/consolekit/consolekit.build
blob: ff7778aa3a2b01cf80f98850170c5bbebb8b5961 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
}