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
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
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("