[OE-core] [PATCH] sanity: explain where TMPDIR is if we're telling the user to delete it
Christopher Larson
kergoth at gmail.com
Tue Apr 4 15:13:40 UTC 2017
On Tue, Apr 4, 2017 at 7:22 AM, Ross Burton <ross.burton at intel.com> wrote:
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> meta/classes/sanity.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index 94c78b5..ade8cb6 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -589,7 +589,7 @@ def sanity_handle_abichanges(status, d):
> with open(abifile, "w") as f:
> f.write(current_abi)
> elif int(abi) <= 11 and current_abi == "12":
> - status.addresult("The layout of TMPDIR changed for Recipe
> Specific Sysroots.\nConversion doesn't make sense and this change will
> rebuild everything so please start with a clean TMPDIR.\n")
> + status.addresult("The layout of TMPDIR changed for Recipe
> Specific Sysroots.\nConversion doesn't make sense and this change will
> rebuild everything so please start with a clean TMPDIR (%s).\n" %
> d.getVar("TMPDIR"))
>
This looks good, though I wonder if we should explicitly state that it
should be removed. I could see someone wondering how they “clean” their
tmpdir :)
--
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170404/f79354ae/attachment-0002.html>
More information about the Openembedded-core
mailing list