mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user