Skip to contentSkip to conversation

x11-at91sam9-image: x11-gpe-image with additions

PATCH In review Ulf Samuelsson 2 participants 2 messages Mar 13, 2010 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x11-at91sam9-image: x11-gpe-image with additions

From: Nicolas Ferre <[email protected]>

Create an image based on x11-gpe-image but with
a lot of applications added;

+ gpe-irc
+ gpe-sketchbook
+ gpe-filemanager
+ gpe-tetris
+ gpe-go
+ gpe-calendar
+ gpe-contacts
+ gpe-edit
+ gpe-gallery
+ gpe-calculator
+ gpe-clock
+ gpe-terminal
+ gpe-watch
+ matchbox-panel-hacks
+ gpe-scap
+ gpe-windowlist
+ gpe-mixer
+ usbview
+ mplayer
+ thttpd
+ madplay
+ alsa-utils-aplay
+ alsa-utils-amixer
+ iperf
+ fbv
+ dosfstools
+ mtd-utils
+ multimedia
+ gpe-mini-browser

---
 recipes/images/x11-at91sam9-image.bb |   67 ++++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)
 create mode 100644 recipes/images/x11-at91sam9-image.bb
recipes/images/x11-at91sam9-image.bb new file +67 -0
new file mode 100644
index 0000000..c2bd723
@@ -0,0 +1,67 @@
+#Angstrom X11 at91sam9 image with apps and kernel modules included
+
+XSERVER ?= "xserver-kdrive-fbdev"
+SPLASH ?= ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-angstrom", "",d)}'
+	
+ANGSTROM_EXTRA_INSTALL += " \
+	gpe-irc \
+	gpe-sketchbook \
+	gpe-filemanager \
+	gpe-tetris \
+	gpe-go \
+	gpe-calendar \
+	gpe-contacts \
+	gpe-edit \
+	gpe-gallery \
+	gpe-calculator \
+	gpe-clock \
+	gpe-terminal \
+	gpe-watch \
+	matchbox-panel-hacks \
+	gpe-scap \
+	gpe-windowlist \
+	gpe-mixer \
+	usbview \
+	mplayer \
+	thttpd \
+	madplay \
+	alsa-utils-aplay \
+	alsa-utils-amixer \
+	iperf \
+	fbv \
+	dosfstools \
+	mtd-utils \
+	multimedia \
+	gpe-mini-browser \
+#	nbench-byte \
+#	pointercal \
+	"
+
+export IMAGE_BASENAME = "x11-at91sam9-image"
+
+DEPENDS = "task-base"
+IMAGE_INSTALL = "\
+    ${XSERVER} \
+    task-base-extended \
+    angstrom-x11-base-depends \
+    angstrom-gpe-task-base \
+    angstrom-gpe-task-settings \
+    kernel-modules \
+    hal \
+    angstrom-gpe-task-pim \
+    tslib-conf \
+    tslib-calibrate \
+    tslib-tests \
+    ${SPLASH} \
+    ${ANGSTROM_EXTRA_INSTALL}"
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+#zap root password for release images
+ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'
+ROOTFS_POSTPROCESS_COMMAND += "set_image_autologin; "
+
+#we dont need the kernel in the image
+ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; "
+
+inherit image
Signature · 1 line
1.6.0.2
#1 lore raw

Dnia sobota, 13 marca 2010 o 08:00:59 Ulf Samuelsson napisał(a):

Quoted 2 lines

Create an image based on x11-gpe-image but with
a lot of applications added;

Few notes:

1. As it is based on x11-gpe-image then do "require x11-gpe-image.bb" in first line instead of copying whole recipe.

2. Do not use ANGSTROM_EXTRA_INSTALL as this is distroism - use IMAGE_INSTALL like it should be used.

3. What about adding some description to recipe?

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz