aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/images/x11-at91sam9-image.bb
blob: 55e1976b9f24dd83237be0bb780d16626e2f1f2f (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Angstrom x11-gpe-image with additional apps included
XSERVER = "xserver-xorg \
           xf86-input-evdev \
           xf86-input-tslib \
           xf86-video-fbdev "

require x11-gpe-image.bb

export IMAGE_BASENAME = "x11-at91sam9-image"

DEPENDS = "task-base"

IMAGE_INSTALL += "\
	gpe-calculator \
	gpe-calendar \
	gpe-clock \
	gpe-contacts \
	gpe-edit \
	gpe-filemanager \
	gpe-gallery \
	gpe-go \
	gpe-irc \
	gpe-mixer \
	gpe-scap \
	gpe-sketchbook \
	gpe-terminal \
	gpe-tetris \
	gpe-watch \
	gpe-windowlist \
	gnome-mplayer \
	matchbox-panel-hacks \
	usbview \
	mplayer \
	madplay \
	alsa-utils-aplay \
	alsa-utils-amixer \
	alsa-utils-alsamixer \
	alsa-utils-alsactl \
	iperf \
	fbv \
	dosfstools \
	mtd-utils \
	bash-sh \
	tslib-conf \
	tslib-calibrate \
	tslib-tests \
	libstdc++ \
	pointercal \
#	${IMAGE_EXTRA_INSTALL} \
#	gpe-mini-browser \
#	nbench-byte \
	"

# IMAGE_LINGUAS += " se no dk fi"
ROOTFS_POSTPROCESS_COMMAND += "set_image_autologin; "
ROOTFS_POSTPROCESS_COMMAND += "install_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; "