* [meta-swupd][PATCH] swupd-image.bbclass: add missing expand arg in getVars
@ 2017-02-14 17:20 Aaron Zinghini
2017-02-17 7:38 ` Patrick Ohly
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Zinghini @ 2017-02-14 17:20 UTC (permalink / raw)
To: openembedded-devel
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 <aaron.zinghini@seeingmachines.com>
---
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.zinghini@seeingmachines.com
W www.seeingmachines.com<http://www.seeingmachines.com>
[Seeing Machines]<https://www.seeingmachines.com/>
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.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-swupd][PATCH] swupd-image.bbclass: add missing expand arg in getVars
2017-02-14 17:20 [meta-swupd][PATCH] swupd-image.bbclass: add missing expand arg in getVars Aaron Zinghini
@ 2017-02-17 7:38 ` Patrick Ohly
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Ohly @ 2017-02-17 7:38 UTC (permalink / raw)
To: openembedded-devel
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 yocto@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-17 7:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-14 17:20 [meta-swupd][PATCH] swupd-image.bbclass: add missing expand arg in getVars Aaron Zinghini
2017-02-17 7:38 ` Patrick Ohly
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.