diff options
author | Richard Purdie <richard@openedhand.com> | 2006-10-20 16:09:05 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-10-20 16:09:05 +0000 |
commit | e2b821a8345b65318da04ecde14d15924a229c8a (patch) | |
tree | 20860f6b00d9f0a9a0fa861cc8593499f326ad2c /meta/classes/package_rpm.bbclass | |
parent | 49d42d9fe619a6897cd95ba42defcb1e5a4bff1f (diff) | |
download | poky-e2b821a8345b65318da04ecde14d15924a229c8a.tar.gz |
package.bbclass: Split into two tasks, one which prepares the packages and then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_install/do_package tasks (wipe the do_xyz stamps from the stamps dir). Everything will repackage anyway due to the new task.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@807 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index ee579bed55..4955792916 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -2,7 +2,7 @@ inherit package | |||
2 | inherit rpm_core | 2 | inherit rpm_core |
3 | 3 | ||
4 | RPMBUILD="rpmbuild --short-circuit ${RPMOPTS}" | 4 | RPMBUILD="rpmbuild --short-circuit ${RPMOPTS}" |
5 | PACKAGEFUNCS += "do_package_rpm" | 5 | PACKAGE_WRITE_FUNCS += "do_package_rpm" |
6 | IMAGE_PKGTYPE ?= "rpm" | 6 | IMAGE_PKGTYPE ?= "rpm" |
7 | 7 | ||
8 | python write_specfile() { | 8 | python write_specfile() { |