diff options
author | Koen Kooi <koen@openembedded.org> | 2006-07-23 14:04:55 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-07-23 14:04:55 +0000 |
commit | 8a7dd61b6490353b3a284c7100e0adb9840d6da4 (patch) | |
tree | 1b2f86e10051be50175aa52d89d6a1db55d9694f /packages/tasks/task-bootstrap.bb | |
parent | 5a7d5ffb0a3f533469243c157cc6d5e992cd0169 (diff) |
Split out *image* and *task* from packages/meta into their own subdirs.
Inspired by http://svn.o-hand.com/view/poky?rev=531&view=rev
Diffstat (limited to 'packages/tasks/task-bootstrap.bb')
-rw-r--r-- | packages/tasks/task-bootstrap.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/tasks/task-bootstrap.bb b/packages/tasks/task-bootstrap.bb new file mode 100644 index 0000000000..ef76ec4345 --- /dev/null +++ b/packages/tasks/task-bootstrap.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Core packages required for a basic installation" +MAINTAINER = "Phil Blundell <pb@handhelds.org>" +PR = "r25" + +# 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_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) + +HOTPLUG ?= "linux-hotplug" + +RDEPENDS = 'base-files base-passwd busybox \ + initscripts \ + netbase sysvinit sysvinit-pidof tinylogin \ + modutils-initscripts fuser setserial\ + ${HOTPLUG} \ + ${BOOTSTRAP_EXTRA_RDEPENDS} \ + ${@bootstrap_modutils_rdepends(d)}' + +RRECOMMENDS = 'dropbear portmap \ + ${BOOTSTRAP_EXTRA_RRECOMMENDS}' +LICENSE = MIT |