[root@LocalSystem meta]# cat task-basic.bb DESCRIPTION = "Core packages required for a installation with X Server and matchbox" MAINTAINER = "Sriram V." PR = "r01" # 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(r) 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(r) DEPENDS = 'customfiles \ busybox \ tinylogin \ diet-x11 \ modutils-initscripts \ xserver-kdrive \ matchbox \ tslib \ xtscal \ gqview \ ttf-bitstream-vera \ ${BOOTSTRAP_EXTRA_DEPENDS} \ ${@bootstrap_modutils_depends(d)}' RDEPENDS = 'customfiles \ busybox \ tinylogin \ xserver-kdrive-fbdev \ matchbox \ xtscal \ tslib-tests \ tslib-calibrate \ modutils-initscripts \ ttf-bitstream-vera \ pango-module-basic-x \ pango-module-basic-fc \ libfontconfig-utils \ gqview \ ${BOOTSTRAP_EXTRA_RDEPENDS} \ ${@bootstrap_modutils_rdepends(d)}' RRECOMMENDS = '${BOOTSTRAP_EXTRA_RRECOMMENDS}' LICENSE = MIT