Re: [oe] [meta-swupd][PATCH] swupd-image.bbclass: add missing expand arg in getVars

2017-02-16 Thread Patrick Ohly
On Tue, 2017-02-14 at 10:20 -0700, Aaron Zinghini wrote:
> Add "True" to d.getVar() to avoid forking a little while longer.
> 
> The expand arg has been set to true by default in master branch and breaks 
> compatibility with branches.

Thanks, applied to master-next (not pushed yet). The right mailing list
for future patches is yo...@yoctoproject.org - I had gotten that wrong
when summarizing the patch submission procedure for you.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-swupd][PATCH] swupd-image.bbclass: add missing expand arg in getVars

2017-02-14 Thread Aaron Zinghini
Add "True" to d.getVar() to avoid forking a little while longer.

The expand arg has been set to true by default in master branch and breaks 
compatibility with branches.

Signed-off-by: Aaron Zinghini 
---
 classes/swupd-image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/swupd-image.bbclass b/classes/swupd-image.bbclass
index 771a416..645adab 100644
--- a/classes/swupd-image.bbclass
+++ b/classes/swupd-image.bbclass
@@ -154,7 +154,7 @@ python () {
 mega_rootfs = mega_rootfs.replace('/' + pn +'/', '/bundle-%s-mega/' % 
(pn_base or pn))
 d.setVar('MEGA_IMAGE_ROOTFS', mega_rootfs)
 mega_archive = mega_rootfs + '.tar'
-workdir = d.getVar('WORKDIR')
+workdir = d.getVar('WORKDIR', True)
 d.setVar('MEGA_IMAGE_ARCHIVE', mega_archive)
 mega_archive_rel = os.path.relpath(mega_archive, workdir)
 if os.path.sep not in mega_archive_rel:
--
2.7.4


Aaron Zinghini
Senior DSS Software Engineer










T   +1 917 346 2993
M   +1 917 346 2993
E   aaron.zingh...@seeingmachines.com
W   www.seeingmachines.com

[Seeing Machines]

This email is confidential. If you are not the intended recipient, destroy all 
copies and do not disclose or use the information within. No warranties are 
given that this email does not contain viruses or harmful code.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel