summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-09 19:24:54 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-09 19:24:54 +0000
commit886a6ba2a35f5a278fda91b3f0d23c920b31fe29 (patch)
tree24042c905976cf09fef4aaf88b89fb4d41310d8d
parentf999059ab3cdc1d53ced2b183b19d5471614060a (diff)
downloadpoky-886a6ba2a35f5a278fda91b3f0d23c920b31fe29.tar.gz
task-base/task-poky-boot: Use MACHINE_ESSENTIAL variables correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2136 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/tasks/task-base.bb6
-rw-r--r--meta/packages/tasks/task-poky-boot.bb9
2 files changed, 8 insertions, 7 deletions
diff --git a/meta/packages/tasks/task-base.bb b/meta/packages/tasks/task-base.bb
index 37150e485f..4edf22787c 100644
--- a/meta/packages/tasks/task-base.bb
+++ b/meta/packages/tasks/task-base.bb
@@ -52,12 +52,6 @@ PACKAGE_ARCH_task-base-pcmcia = "${MACHINE_ARCH}"
52PCMCIA_MANAGER ?= "${@base_contains('MACHINE_FEATURES', 'kernel26','pcmciautils','pcmcia-cs',d)} " 52PCMCIA_MANAGER ?= "${@base_contains('MACHINE_FEATURES', 'kernel26','pcmciautils','pcmcia-cs',d)} "
53 53
54# 54#
55# those ones can be set in machine config to supply packages needed to get machine booting
56#
57MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
58MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
59
60#
61# task-base contain stuff needed for base system (machine related) 55# task-base contain stuff needed for base system (machine related)
62# 56#
63RDEPENDS_task-base = "\ 57RDEPENDS_task-base = "\
diff --git a/meta/packages/tasks/task-poky-boot.bb b/meta/packages/tasks/task-poky-boot.bb
index 3285f3f96c..e4db9cdc7a 100644
--- a/meta/packages/tasks/task-poky-boot.bb
+++ b/meta/packages/tasks/task-poky-boot.bb
@@ -5,9 +5,13 @@
5DESCRIPTION = "Task for OpenedHand Poky - minimal bootable image" 5DESCRIPTION = "Task for OpenedHand Poky - minimal bootable image"
6PACKAGE_ARCH = "${MACHINE_ARCH}" 6PACKAGE_ARCH = "${MACHINE_ARCH}"
7ALLOW_EMPTY = "1" 7ALLOW_EMPTY = "1"
8PR = "r1" 8PR = "r2"
9 9
10#
11# Set by the machine configuration with packages essential for device bootup
12#
10MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" 13MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
14MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
11 15
12RDEPENDS_task-poky-boot = "\ 16RDEPENDS_task-poky-boot = "\
13 base-files \ 17 base-files \
@@ -21,3 +25,6 @@ RDEPENDS_task-poky-boot = "\
21 udev \ 25 udev \
22 update-alternatives \ 26 update-alternatives \
23 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}" 27 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
28
29RRECOMMENDS_task-poky-boot = "\
30 ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}" \ No newline at end of file