summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-10-03 21:32:46 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-10-03 21:32:46 +0000
commit690a699ec17d2ee9d2b498e6b5848afd35a43d94 (patch)
tree1d6be298c9f75b28b1c33333bf5cce31d86215b8
parente71b7011d4ec25a50e7db94e4af79514e51fbd4e (diff)
downloadopenembedded-core-690a699ec17d2ee9d2b498e6b5848afd35a43d94.tar.gz
openembedded-core-690a699ec17d2ee9d2b498e6b5848afd35a43d94.tar.bz2
openembedded-core-690a699ec17d2ee9d2b498e6b5848afd35a43d94.zip
package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5413 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/package_rpm.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 15835bf1e4..3defcdde70 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -207,6 +207,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)
}