OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: sriramv on July 03, 2005, 07:07:12 am
-
Hi,
Just started with open embedded; made a bootstrap-image, gpe image; its working fine.
So, i just wanted to experiment a little bit; copied the bootstrap-image and task-bootstrap.bb files into
basicx-image.bb and task-basicx.bb.
Just wanted a image that has bootable image with X server, touch screen and matchbox in it.
When i make basicx image;
I get an image but it does not have Xserver and matchbox in it.
Cant figure out where the problem is ?.
Any help is appreciated.
I am attaching both the files for your reference.
Regards,
Ram
#
export IMAGE_BASENAME = "basicx-image"
#
export IMAGE_LINGUAS = ""
#
export IPKG_INSTALL = "task-basicx"
#
#
DEPENDS = "task-basicx"
#
#
inherit image_ipk
#
#
FEED_URIS_append_openzaurus = " x11##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/x11 \
#
gpe##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/gpe \
#
opie##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/opie \
#
e##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/e"
#
#
FEED_URIS_append_familiar = " x11##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/x11 \
#
opie##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/opie"
#
#
LICENSE = MIT
#
~
#
#
#
-------------file:task-basicx.bb-----------------------------------------------------------------------------
#
#
DESCRIPTION = "Core packages required for a basic installation"
#
MAINTAINER = "Phil Blundell <pb@handhelds.org>"
#
PR = "r29"
#
#
# The BOOTSTRAP_EXTRA_ variables are often manipulated by the
#
# MACHINE .conf files, so adjust PACKAGE_ARCH accordingly.
#
PACKAGE_ARCH = "${MACHINE_ARCH}"
#
#
ALLOW_EMPTY = 1
#
PACKAGES = "${PN}"
#
#
MODUTILS ?= "24 26"
#
#
def bootstrap_modutils_depends(d):
#
import bb
#
m = bb.data.getVar('MODUTILS', d, 1)
#
r = []
#
if '24' in m:
#
r.append('modutils')
#
if '26' in m:
#
r.append('module-init-tools')
#
return ' '.join®
#
#
def bootstrap_modutils_rdepends(d):
#
import bb
#
m = bb.data.getVar('MODUTILS', d, 1)
#
r = []
#
if '24' in m:
#
r.append('modutils-depmod')
#
if '26' in m:
#
r.append('module-init-tools-depmod')
#
return ' '.join®
#
#
#
DEPENDS = 'base-files base-passwd-3.5.9 \
#
busybox tinylogin \
#
diet-x11 \
#
virtual/xserver \
#
matchbox \
#
matchbox-panel-manager \
#
matchbox-panel-hacks \
#
matchbox-themes-extra \
#
${BOOTSTRAP_EXTRA_DEPENDS} \
#
${@bootstrap_modutils_depends(d)}'
#
#
RDEPENDS = 'base-files base-passwd busybox \
#
tinylogin \
#
${BOOTSTRAP_EXTRA_RDEPENDS} \
#
${@bootstrap_modutils_rdepends(d)}'
#
#
RRECOMMENDS = '${BOOTSTRAP_EXTRA_RRECOMMENDS}'
#
LICENSE = MIT
-
You need to add the packages you want to get installed into the image to task-basicx RDEPENDS.