ping On Thu, Jun 24, 2021 at 9:54 AM Khem Raj <raj.k...@gmail.com> wrote: > > From: Mani Selvaraj <mani_selva...@comcast.com> > > A repo with multiple layers are placed under /layers/ and a repo > with single layer is placed under /layers/openembedded-core in esdk. > This tiggered locked sig mismatch warnings when building image from > esdk environment. > ----- > TOPDIR=/Code/build > corebase=/Code/openembedded-core > ----- > /Code/meta-java > /Code/meta-gplv2 > /Code/meta-openembedded/meta-webserver > /Code/meta-openembedded/meta-oe > /Code/openembedded-core/meta > Are moved to > /sdk_org/layers/openembedded-core/meta-gplv2 > /sdk_org/layers/openembedded-core/meta-java > /sdk_org/layers/meta-openembedded/meta-webserver > /sdk_org/layers/meta-openembedded/meta-oe > /sdk_org/layers/openembedded-core/meta > > here fix it to move all layers under /layers dir. > > to check this fix build image from esdk environment and > check for sig mismatch warnings. > > Signed-off-by: Mani Selvaraj <mani_selva...@comcast.com> > Signed-off-by: Khem Raj <raj.k...@gmail.com> > --- > meta/lib/oe/copy_buildsystem.py | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py > index d97bf9d1b9..4998afa60f 100644 > --- a/meta/lib/oe/copy_buildsystem.py > +++ b/meta/lib/oe/copy_buildsystem.py > @@ -102,8 +102,6 @@ class BuildSystem(object): > layerdestpath += '/' + os.path.basename(corebase) > else: > layer_relative = os.path.relpath(layer, corebase) > - if os.path.dirname(layer_relative) == corebase_relative: > - layer_relative = os.path.dirname(corebase_relative) + > '/' + layernewname > layer_relative = os.path.basename(corebase) + '/' + > layer_relative > if os.path.dirname(layer_relative) != layernewname: > layerdestpath += '/' + os.path.dirname(layer_relative) > -- > 2.32.0 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#153660): https://lists.openembedded.org/g/openembedded-core/message/153660 Mute This Topic: https://lists.openembedded.org/mt/83764918/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-