]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
base: Don't add duplicates to sys.path
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2022 11:01:50 +0000 (12:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Apr 2022 22:05:31 +0000 (23:05 +0100)
commitdadce8468db1c0fd0e04801cdc6cf287c2808477
treeaa502c482effab6a1b095beb3a4e26919f8488c1
parent42e68397ec74b3cd8ae5df45355c8f6254b48cd8
base: Don't add duplicates to sys.path

We can re-trigger this code and there is little point in stacking a ton of duplicate
paths which just waste time during searches for modules. This could in theory alter
layer module search order but that seems unlikely in common use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes/base.bbclass