diff options
author | Chris Lord <chris@openedhand.com> | 2005-01-25 18:14:56 +0000 |
---|---|---|
committer | Chris Lord <chris@openedhand.com> | 2005-01-25 18:14:56 +0000 |
commit | c00fe624027eb6e258a1e1965d700cec10ae7291 (patch) | |
tree | 3e9721cc9aecadc613ae2b33d0c18beee39b1d6b | |
parent | a3d3c51d053b6cdc141cc8d74bfce2c4e7f1c739 (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into cwiiisdesktop.(none):/home/cwiiis/oe/openembedded
2005/01/25 18:14:20+00:00 (none)!cwiiis
Change the DEFAULT_PREFERENCE of task-bootstrap-unionroot (it shouldn't be the default).
BKrev: 41f68ca0j5WZH5LrX77IxRuNsGYHtA
-rw-r--r-- | packages/meta/task-bootstrap-unionroot.bb | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/packages/meta/task-bootstrap-unionroot.bb b/packages/meta/task-bootstrap-unionroot.bb index e69de29bb2..c5edb56eb1 100644 --- a/packages/meta/task-bootstrap-unionroot.bb +++ b/packages/meta/task-bootstrap-unionroot.bb @@ -0,0 +1,60 @@ +DESCRIPTION = "Core packages required for a basic installation with unionroot" +MAINTAINER = "Chris Lord <cwiiis@handhelds.org>" +PROVIDES = "task-bootstrap" +PN = "task-bootstrap" +PV = "1.0unionroot" +DEFAULT_PREFERENCE = "-1" + +# 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 = 'base-files base-passwd-3.5.7 \ + busybox dropbear hotplug initscripts modutils netbase \ + sysvinit tinylogin portmap \ + modutils-initscripts \ + ${BOOTSTRAP_EXTRA_DEPENDS} \ + ${@bootstrap_modutils_depends(d)} \ + unionfs-modules \ + unionfs-utils \ + unionroot \ + unionroot-utils' + +RDEPENDS = 'base-files base-passwd busybox \ + hotplug initscripts \ + netbase sysvinit sysvinit-pidof tinylogin \ + modutils-initscripts \ + ${BOOTSTRAP_EXTRA_RDEPENDS} \ + ${@bootstrap_modutils_rdepends(d)} \ + unionfs-modules \ + unionfs-utils \ + unionroot \ + unionroot-utils' + +RRECOMMENDS = 'dropbear portmap \ + ${BOOTSTRAP_EXTRA_RRECOMMENDS}' |