From c00cd09f520da9d74176f4b9ab1b21db5e9067e1 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 22 Dec 2006 09:16:57 +0000 Subject: start removing task-bootstrap* as stated in removal.txt --- packages/obsolete/tasks/.mtn2git_empty | 0 .../obsolete/tasks/task-bootstrap-unionroot.bb | 34 ++++++++++++++++++++++ packages/obsolete/tasks/task-bootstrap.bb | 27 +++++++++++++++++ packages/obsolete/tasks/task-bootstrap.inc | 9 ++++++ 4 files changed, 70 insertions(+) create mode 100644 packages/obsolete/tasks/.mtn2git_empty create mode 100644 packages/obsolete/tasks/task-bootstrap-unionroot.bb create mode 100644 packages/obsolete/tasks/task-bootstrap.bb create mode 100644 packages/obsolete/tasks/task-bootstrap.inc (limited to 'packages/obsolete') diff --git a/packages/obsolete/tasks/.mtn2git_empty b/packages/obsolete/tasks/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/obsolete/tasks/task-bootstrap-unionroot.bb b/packages/obsolete/tasks/task-bootstrap-unionroot.bb new file mode 100644 index 0000000000..e737e31608 --- /dev/null +++ b/packages/obsolete/tasks/task-bootstrap-unionroot.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Core packages required for a basic installation with unionroot" +PROVIDES = "task-bootstrap" +RPROVIDES = "task-bootstrap" +PR = "r2" +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" + +require task-bootstrap.inc + +HOTPLUG ?= "linux-hotplug" + +RDEPENDS = 'base-files base-passwd busybox \ + initscripts \ + netbase sysvinit sysvinit-pidof tinylogin \ + modutils-initscripts \ + ${HOTPLUG} \ + ${BOOTSTRAP_EXTRA_RDEPENDS} \ + ${@bootstrap_modutils_rdepends(d)} \ + unionfs-modules \ + unionfs-utils \ + unionroot \ + unionroot-utils' + +RRECOMMENDS = 'dropbear portmap \ + ${BOOTSTRAP_EXTRA_RRECOMMENDS}' +LICENSE = "MIT" diff --git a/packages/obsolete/tasks/task-bootstrap.bb b/packages/obsolete/tasks/task-bootstrap.bb new file mode 100644 index 0000000000..d84f331102 --- /dev/null +++ b/packages/obsolete/tasks/task-bootstrap.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Core packages required for a basic installation" +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" + +require task-bootstrap.inc + +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" diff --git a/packages/obsolete/tasks/task-bootstrap.inc b/packages/obsolete/tasks/task-bootstrap.inc new file mode 100644 index 0000000000..073da7055f --- /dev/null +++ b/packages/obsolete/tasks/task-bootstrap.inc @@ -0,0 +1,9 @@ +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) -- cgit v1.2.3