aboutsummaryrefslogtreecommitdiff
path: root/recipes/images/console-at91sam9-image.bb
blob: aeb6ed5e6c5749cf6cc5e2e06ef2144157f1ad90 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#Angstrom basic console at91sam9 image

IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"

ANGSTROM_EXTRA_INSTALL += " \
	alsa-utils-alsamixer \
	alsa-utils-alsactl \
	alsa-utils-amixer \
	alsa-utils-aplay \
#	bash-sh \
	dosfstools \
	iperf \
	madplay \
	mtd-utils \
	mplayer \
#	nbench-byte \
#	owl-wifi \
#	thttpd \
	ttcp \
#	usbview \
	"

DEPENDS = "task-base-extended \
           ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
	   "

IMAGE_INSTALL = "task-base-extended \
	    ${ANGSTROM_EXTRA_INSTALL} \
	    ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
	   "

export IMAGE_BASENAME = "console-at91sam9-image"
IMAGE_LINGUAS = ""

#we dont need the kernel in the image
ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; "

at91sam9_rootfs_postprocess() {
	curdir=$PWD
	cd ${IMAGE_ROOTFS}

	# bash-sh: pkg_postinst_bash command shall be run again
	# (overloaded by busybox shell)
	# cd bin
	# ln -sf bash sh

	cd $curdir
}

ROOTFS_POSTPROCESS_COMMAND += "at91sam9_rootfs_postprocess; "

inherit image