summaryrefslogtreecommitdiffstats
path: root/remote/modules/kdm/kdm.build
blob: 638f8088eb173abc346a92a47c0fc10fdec09dae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#tool/distro specific functions for fetching, building and installing dependencies
	

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() {
	#create static kdm folders in stage3.2
	mkdir -p ${TARGET_BUILD_DIR}/var/lib/kdm
	mkdir -p ${TARGET_BUILD_DIR}/var/run/kdm 

	
	#copy required icons
	[ ! -z "$REQUIRED_SYSTEM_FILES" ] && tarcopy "$REQUIRED_SYSTEM_FILES" "$TARGET_BUILD_DIR"
	gtk-update-icon-cache-3.0 "${TARGET_BUILD_DIR}/usr/share/icons/oxygen/" || perror "update-icon-cache-3.0 failed."
}