diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-21 22:39:57 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-21 22:39:57 +0000 |
commit | 9bb91785c9ea3408df7dfaf3bc6ac421afcb328e (patch) | |
tree | 05523eab021bbbd7465331b83ba71fe850c4e0b2 /meta/classes | |
parent | 2ed6d9cf2880aac21beaa34efd06bea28fa73637 (diff) | |
download | poky-9bb91785c9ea3408df7dfaf3bc6ac421afcb328e.tar.gz |
package.bbclass: Add back package_write task in a new form
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2535 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 7 | ||||
-rw-r--r-- | meta/classes/package_deb.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
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 () { | |||
896 | do_package[dirs] = "${D}" | 896 | do_package[dirs] = "${D}" |
897 | addtask package before do_build after do_install | 897 | addtask package before do_build after do_install |
898 | 898 | ||
899 | # Dummy task to mark when all packaging is complete | ||
900 | do_package_write () { | ||
901 | : | ||
902 | } | ||
903 | addtask do_package_write before do_build after do_package | ||
899 | 904 | ||
900 | EXPORT_FUNCTIONS do_package | 905 | EXPORT_FUNCTIONS do_package do_package_write |
901 | 906 | ||
902 | # | 907 | # |
903 | # Helper functions for the package writing classes | 908 | # 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 () { | |||
257 | bb.build.exec_func("do_package_deb", d) | 257 | bb.build.exec_func("do_package_deb", d) |
258 | } | 258 | } |
259 | do_package_write_deb[dirs] = "${D}" | 259 | do_package_write_deb[dirs] = "${D}" |
260 | addtask package_write_deb before do_build after do_package | 260 | addtask package_write_deb before do_package_write after do_package |
261 | 261 | ||
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 () { | |||
249 | bb.build.exec_func("do_package_ipk", d) | 249 | bb.build.exec_func("do_package_ipk", d) |
250 | } | 250 | } |
251 | do_package_write_ipk[dirs] = "${D}" | 251 | do_package_write_ipk[dirs] = "${D}" |
252 | addtask package_write_ipk before do_build after do_package | 252 | addtask package_write_ipk before do_package_write after do_package |