Re: [OE-core] [PATCH] buildconf: compare abspath

2022-10-14 Thread Alexander Kanavin
On Fri, 14 Oct 2022 at 09:59, Jose Quaresma wrote: >> for l in layers: >> -if l[0] == os.path.abspath(args.layerpath): >> +if os.path.abspath(l[0]) == os.path.abspath(args.layerpath): >> targetlayer = l[0] > > > Maybe can be better to have the absp

Re: [OE-core] [PATCH] buildconf: compare abspath

2022-10-14 Thread Jose Quaresma
Hi Adrian, Adrian Freihofer escreveu no dia sexta, 14/10/2022 à(s) 07:53: > We have something like ${TOPDIR}/../../poky/meta in the bblayers.conf > file. This does not work without normalizing the path for comparison. > > Signed-off-by: Adrian Freihofer > --- > meta/lib/bblayers/buildconf.py |

[OE-core] [PATCH] buildconf: compare abspath

2022-10-13 Thread Adrian Freihofer
We have something like ${TOPDIR}/../../poky/meta in the bblayers.conf file. This does not work without normalizing the path for comparison. Signed-off-by: Adrian Freihofer --- meta/lib/bblayers/buildconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/bblayers/bui