diff options
Diffstat (limited to 'packages/obsolete')
-rw-r--r-- | packages/obsolete/tasks/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/obsolete/tasks/task-bootstrap-unionroot.bb | 34 | ||||
-rw-r--r-- | packages/obsolete/tasks/task-bootstrap.bb | 27 | ||||
-rw-r--r-- | packages/obsolete/tasks/task-bootstrap.inc | 9 |
4 files changed, 70 insertions, 0 deletions
diff --git a/packages/obsolete/tasks/.mtn2git_empty b/packages/obsolete/tasks/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/obsolete/tasks/.mtn2git_empty 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) |