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