Re: [OE-core] [PATCH v2] oeqa/selftest: add a newline in local.conf (newbuilddir)

2025-02-25 Thread Yoann Congal via lists.openembedded.org
Hello Chistos, Le mar. 25 févr. 2025 à 10:58, Christos Gavros a écrit : > If the build-st/conf/local.conf does not end with a newline > when is generated then add one > Fixes [YOCTO #15734] > > CC: Randy MacLeod > Reviewed-by: Yoann Congal > FYI, you can't add a Reviewed-by from someone withou

Re: [OE-core] [PATCH v2] oeqa/selftest: add a newline in local.conf (newbuilddir)

2025-02-25 Thread Alexander Kanavin via lists.openembedded.org
On Tue, 25 Feb 2025 at 10:58, Christos Gavros via lists.openembedded.org wrote: > +# if the last line of local.conf in newbuilddir is not empty and > does not end with newline then add one > +localconf_path = newbuilddir + "/conf/local.conf" > +with open(localconf_path, "r

[OE-core] [PATCH v2] oeqa/selftest: add a newline in local.conf (newbuilddir)

2025-02-25 Thread Christos Gavros via lists.openembedded.org
If the build-st/conf/local.conf does not end with a newline when is generated then add one Fixes [YOCTO #15734] CC: Randy MacLeod Reviewed-by: Yoann Congal Signed-off-by: Christos Gavros --- v1->v2 * the comment is changed * last_line is initialized to "None" * add a new line by using f.write("