<div dir="ltr"><div>Unfortunately this broke &#39;devtool upgrade&#39; functionality, where &#39;devtool finish&#39; erroneously rewrites SRC_URI to no longer include the path to the remote tarball.</div><div><br></div><div>I will have to send a revert for this.</div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 3 Oct 2019 at 01:10, Jaewon Lee &lt;<a href="mailto:JAEWON@xilinx.com">JAEWON@xilinx.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ping<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: Jaewon Lee &lt;<a href="mailto:jaewon.lee@xilinx.com" target="_blank">jaewon.lee@xilinx.com</a>&gt;<br>
&gt; Sent: Thursday, September 19, 2019 5:13 PM<br>
&gt; To: <a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.openembedded.org</a>;<br>
&gt; <a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>; Manjukumar Harthikote Matha<br>
&gt; &lt;<a href="mailto:MANJUKUM@xilinx.com" target="_blank">MANJUKUM@xilinx.com</a>&gt;; Alejandro Enedino Hernandez Samaniego<br>
&gt; &lt;<a href="mailto:alejandr@xilinx.com" target="_blank">alejandr@xilinx.com</a>&gt;<br>
&gt; Cc: Jaewon Lee &lt;<a href="mailto:JAEWON@xilinx.com" target="_blank">JAEWON@xilinx.com</a>&gt;<br>
&gt; Subject: [OE-core][master][PATCH] standard.py: Not filtering devtool<br>
&gt; workspace for devtool finish<br>
&gt; <br>
&gt; All devtool commands right now are filtering out the devtool workspace<br>
&gt; bbappends in build/workspace/appends when calling parse_recipe. While<br>
&gt; this may make sense for devtool add and modify, we need devtool finish to<br>
&gt; include those appends.<br>
&gt; <br>
&gt; A specific breakage that is caused because devtool finish filters devtool<br>
&gt; appends is the cmake/cml1 flow where a file is created in the WORKDIR that<br>
&gt; finish needs access to, to commit those files. Particularly for git packages with<br>
&gt; SRCPV in PV, SRCPV is only changed to 999 when using external source,<br>
&gt; hence when creating the cfg or cmake config files using for instance bitbake -<br>
&gt; c diffconfig, these files are created in the<br>
&gt; git999 workdir correctly (as in the devtool bbapends, we are inheriting<br>
&gt; externalsrc class). But when devtool finish is run, the devtool appends are<br>
&gt; not parsed, hence SRCPV is not changed to 999 and devtool is looking for the<br>
&gt; fragment files in the wrong WORKDIR.<br>
&gt; <br>
&gt; Changing the parse_recipe call just in devtool finish to not filter out the<br>
&gt; devtool workspace.<br>
&gt; <br>
&gt; Fixes [YOCTO #13533]<br>
&gt; <br>
&gt; Signed-off-by: Jaewon Lee &lt;<a href="mailto:jaewon.lee@xilinx.com" target="_blank">jaewon.lee@xilinx.com</a>&gt;<br>
&gt; ---<br>
&gt;  scripts/lib/devtool/standard.py | 2 +-<br>
&gt;  1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt; <br>
&gt; diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py<br>
&gt; index 9eeaefb..e87b433 100644<br>
&gt; --- a/scripts/lib/devtool/standard.py<br>
&gt; +++ b/scripts/lib/devtool/standard.py<br>
&gt; @@ -2011,7 +2011,7 @@ def finish(args, config, basepath, workspace):<br>
&gt;      no_clean = False<br>
&gt;      tinfoil = setup_tinfoil(basepath=basepath, tracking=True)<br>
&gt;      try:<br>
&gt; -        rd = parse_recipe(config, tinfoil, args.recipename, True)<br>
&gt; +        rd = parse_recipe(config, tinfoil, args.recipename, True,<br>
&gt; + False)<br>
&gt;          if not rd:<br>
&gt;              return 1<br>
&gt; <br>
&gt; --<br>
&gt; 2.7.4<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>