diff options
-rw-r--r-- | meta/classes/image.bbclass | 5 | ||||
-rw-r--r-- | meta/packages/images/oh-image-base.bb | 15 | ||||
-rw-r--r-- | meta/packages/images/oh-image-core.bb | 16 | ||||
-rw-r--r-- | meta/packages/images/oh-image-minimal.bb | 9 | ||||
-rw-r--r-- | meta/packages/images/oh-image-pda.bb | 15 | ||||
-rw-r--r-- | meta/packages/images/oh-image-sdk.bb | 16 |
6 files changed, 27 insertions, 49 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 0eaa5e9bb..cbdc29914 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -1,6 +1,11 @@ inherit rootfs_${IMAGE_PKGTYPE} +LICENSE = "MIT" PACKAGES = "" +RDEPENDS = "${IMAGE_INSTALL}" + +export IMAGE_BASENAME = "${PN}" +export PACKAGE_INSTALL = "${IMAGE_INSTALL}" # We need to recursively follow RDEPENDS and RRECOMMENDS for images BUILD_ALL_DEPS = "1" diff --git a/meta/packages/images/oh-image-base.bb b/meta/packages/images/oh-image-base.bb index 9b87f833e..e10c90718 100644 --- a/meta/packages/images/oh-image-base.bb +++ b/meta/packages/images/oh-image-base.bb @@ -1,12 +1,7 @@ -PR = "r0" - -export IMAGE_BASENAME = "oh-image-base" - -DEPENDS = "task-oh" - -RDEPENDS = "${DISTRO_TASKS}" - -export PACKAGE_INSTALL = "${RDEPENDS}" +# +# Copyright (C) 2007 OpenedHand Ltd. +# +IMAGE_INSTALL = "${DISTRO_TASKS}" inherit image -LICENSE = MIT + diff --git a/meta/packages/images/oh-image-core.bb b/meta/packages/images/oh-image-core.bb index 0e2e7d6f0..b069a82d8 100644 --- a/meta/packages/images/oh-image-core.bb +++ b/meta/packages/images/oh-image-core.bb @@ -1,14 +1,8 @@ -PR = "r0" - -export IMAGE_BASENAME = "oh-image-core" +# +# Copyright (C) 2007 OpenedHand Ltd. +# IMAGE_FEATURES += "apps-core" - -DEPENDS = "task-oh" - -RDEPENDS = "${DISTRO_TASKS}" - -export PACKAGE_INSTALL = "${RDEPENDS}" - +IMAGE_INSTALL = "${DISTRO_TASKS}" inherit image -LICENSE = MIT + diff --git a/meta/packages/images/oh-image-minimal.bb b/meta/packages/images/oh-image-minimal.bb index bc77727d3..567caaac4 100644 --- a/meta/packages/images/oh-image-minimal.bb +++ b/meta/packages/images/oh-image-minimal.bb @@ -1,9 +1,8 @@ -LICENSE = "MIT" -DEPENDS = "task-oh" - -export IMAGE_BASENAME = "${PN}" -export PACKAGE_INSTALL = "task-oh-boot" +# +# Copyright (C) 2007 OpenedHand Ltd. +# +IMAGE_INSTALL = "task-oh-boot" inherit image # remove not needed stuff (locale support and ipkg support) diff --git a/meta/packages/images/oh-image-pda.bb b/meta/packages/images/oh-image-pda.bb index b072458a3..7056e4724 100644 --- a/meta/packages/images/oh-image-pda.bb +++ b/meta/packages/images/oh-image-pda.bb @@ -1,14 +1,7 @@ -PR = "r10" - -export IMAGE_BASENAME = "oh-image-pda" +# +# Copyright (C) 2007 OpenedHand Ltd. +# IMAGE_FEATURES += "apps-core apps-pda" - -DEPENDS = "task-oh" - -RDEPENDS = "${DISTRO_TASKS}" - -export PACKAGE_INSTALL = "${RDEPENDS}" - +IMAGE_INSTALL = "${DISTRO_TASKS}" inherit image -LICENSE = MIT diff --git a/meta/packages/images/oh-image-sdk.bb b/meta/packages/images/oh-image-sdk.bb index 581defb81..61f9e26b1 100644 --- a/meta/packages/images/oh-image-sdk.bb +++ b/meta/packages/images/oh-image-sdk.bb @@ -1,15 +1,7 @@ -PR = "r9" - -export IMAGE_BASENAME = "oh-image-sdk" +# +# Copyright (C) 2007 OpenedHand Ltd. +# IMAGE_FEATURES += "apps-core apps-pda dev-tools dev-pkgs dbg-pkgs" - -DEPENDS = "\ - task-oh \ - task-oh-sdk" - -RDEPENDS = "${DISTRO_TASKS}" -export PACKAGE_INSTALL = "${RDEPENDS}" - +IMAGE_INSTALL = "${DISTRO_TASKS}" inherit image -LICENSE = MIT |