summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-21 09:37:30 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-21 09:37:30 +0000
commit48fd37f5f9f2907d2c6f5d547e8471b232eadc90 (patch)
tree44b13b0d5d4381cce7cab8edd62fdd817d97ac6d /meta/classes/package.bbclass
parent005bf0112ced82ef5e98de4854c0fa749e52d4d6 (diff)
downloadopenembedded-core-48fd37f5f9f2907d2c6f5d547e8471b232eadc90.tar.gz
openembedded-core-48fd37f5f9f2907d2c6f5d547e8471b232eadc90.tar.bz2
openembedded-core-48fd37f5f9f2907d2c6f5d547e8471b232eadc90.tar.xz
openembedded-core-48fd37f5f9f2907d2c6f5d547e8471b232eadc90.zip
packaging: Split deb and ipk creation into separate tasks so changing the packaging type means the new type of packages are automatically generated.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2526 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass19
1 files changed, 1 insertions, 18 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 6c25b0d7d..e1a7d91a9 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -126,11 +126,6 @@ python () {
deps += " %s:do_populate_staging" % dep
bb.data.setVarFlag('do_package', 'depends', deps, d)
- deps = bb.data.getVarFlag('do_package_write', 'depends', d) or ""
- for dep in (bb.data.getVar('PACKAGE_EXTRA_DEPENDS', d, True) or "").split():
- deps += " %s:do_populate_staging" % dep
- bb.data.setVarFlag('do_package_write', 'depends', deps, d)
-
# shlibs requires any DEPENDS to have already packaged for the *.list files
bb.data.setVarFlag('do_package', 'deptask', 'do_package', d)
}
@@ -902,19 +897,7 @@ do_package[dirs] = "${D}"
addtask package before do_build after do_install
-
-PACKAGE_WRITE_FUNCS ?= "read_subpackage_metadata"
-
-python package_do_package_write () {
- for f in (bb.data.getVar('PACKAGE_WRITE_FUNCS', d, 1) or '').split():
- bb.build.exec_func(f, d)
-}
-do_package_write[dirs] = "${D}"
-addtask package_write before do_build after do_package
-
-
-EXPORT_FUNCTIONS do_package do_package_write
-
+EXPORT_FUNCTIONS do_package
#
# Helper functions for the package writing classes