summaryrefslogtreecommitdiff
path: root/packages/meta/task-bootstrap.bb
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-12-12 18:29:43 +0000
committerPhil Blundell <philb@gnu.org>2004-12-12 18:29:43 +0000
commit954f5f3a4aef15dabcbe8e803ec6611a307603d2 (patch)
tree01b30fdd2933157bc905f995b4eba4a938a503c4 /packages/meta/task-bootstrap.bb
parent5a0d654462217e0dda094364c6e3e1a51527e4b1 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into stealth.nexus.co.uk:/home/pb/oe/oe 2004/12/12 18:28:53+00:00 nexus.co.uk!pb add /boot/params file for iPAQ, as found in Familiar 0.7.x. BKrev: 41bc8e17NpC6xRd-tHBNtXHu9DI5bw
Diffstat (limited to 'packages/meta/task-bootstrap.bb')
-rw-r--r--packages/meta/task-bootstrap.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/packages/meta/task-bootstrap.bb b/packages/meta/task-bootstrap.bb
index e69de29bb2..8e6e72c47d 100644
--- a/packages/meta/task-bootstrap.bb
+++ b/packages/meta/task-bootstrap.bb
@@ -0,0 +1,49 @@
+DESCRIPTION = "Core packages required for a basic installation"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+PR = "r14"
+
+# 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)}'
+
+RDEPENDS = 'base-files base-passwd busybox \
+ hotplug initscripts \
+ netbase sysvinit tinylogin \
+ modutils-initscripts \
+ ${BOOTSTRAP_EXTRA_RDEPENDS} \
+ ${@bootstrap_modutils_rdepends(d)}'
+
+RRECOMMENDS = 'dropbear portmap \
+ ${BOOTSTRAP_EXTRA_RRECOMMENDS}'