From 73a06a99b0eda418385bd53ac238de2f14496d13 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard@openedhand.com>
Date: Wed, 16 May 2007 13:33:27 +0000
Subject: images: Merge common functionality into image.bbclass, add copyright
 headers

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1732 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
 meta/packages/images/oh-image-base.bb    | 15 +++++----------
 meta/packages/images/oh-image-core.bb    | 16 +++++-----------
 meta/packages/images/oh-image-minimal.bb |  9 ++++-----
 meta/packages/images/oh-image-pda.bb     | 15 ++++-----------
 meta/packages/images/oh-image-sdk.bb     | 16 ++++------------
 5 files changed, 22 insertions(+), 49 deletions(-)

(limited to 'meta/packages/images')

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
-- 
cgit v1.2.3