summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass7
-rw-r--r--meta/classes/package_deb.bbclass2
-rw-r--r--meta/classes/package_ipk.bbclass2
3 files changed, 8 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index ef7a084455..6cdd757644 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -896,8 +896,13 @@ python package_do_package () {
do_package[dirs] = "${D}"
addtask package before do_build after do_install
+# Dummy task to mark when all packaging is complete
+do_package_write () {
+ :
+}
+addtask do_package_write before do_build after do_package
-EXPORT_FUNCTIONS do_package
+EXPORT_FUNCTIONS do_package do_package_write
#
# Helper functions for the package writing classes
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index c5452475c4..241bb67e8d 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -257,5 +257,5 @@ python do_package_write_deb () {
bb.build.exec_func("do_package_deb", d)
}
do_package_write_deb[dirs] = "${D}"
-addtask package_write_deb before do_build after do_package
+addtask package_write_deb before do_package_write after do_package
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 17918bbde3..afe70005d9 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -249,4 +249,4 @@ python do_package_write_ipk () {
bb.build.exec_func("do_package_ipk", d)
}
do_package_write_ipk[dirs] = "${D}"
-addtask package_write_ipk before do_build after do_package
+addtask package_write_ipk before do_package_write after do_package