[oe] [PATCH 43/70] package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging (from Poky)
Marcin Juszkiewicz
openembedded at haerwu.biz
Wed Mar 4 15:52:58 UTC 2009
From: Marcin Juszkiewicz <hrw at openedhand.com>
git-svn-id: https://svn.o-hand.com/repos/poky@5413 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
classes/package_rpm.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass
index 93cfd35..eb39834 100644
--- a/classes/package_rpm.bbclass
+++ b/classes/package_rpm.bbclass
@@ -197,6 +197,7 @@ python do_package_rpm () {
# Save the value of RPMBUILD expanded into the new dictonary so any
# changes in the compoents that make up workdir don't break packaging
bb.data.setVar('RPMBUILD', bb.data.getVar("RPMBUILD", d, True), localdata)
+ bb.data.setVar('RPMBUILDPATH', bb.data.getVar("RPMBUILDPATH", d, True), localdata)
bb.build.exec_func('write_specfile', localdata)
bb.utils.unlockfile(lf)
}
--
1.6.1.3
More information about the Openembedded-devel
mailing list