using path in local meta layer

183 views
Skip to first unread message

Belisko Marek

unread,
May 4, 2021, 7:42:57 AM5/4/21
to kas-devel
Hi,

I have a local project where all meta-layers local + cloned was in the
root directory and I would like to move then to the sub directory to
keep the root directory clean. I've added for every layer path:
layers/<name> and it works as expected. Only issue I have with custom
repository I have defined in yml like:

meta-gateway:
layers:
meta-gateway:

which works as expected. I just blindly extend to this:
meta-gateway:
path: layers
layers:
meta-gateway:

but now bblayers.conf is NOK as it shows as last item:
"layers/meta-gateway" instead of full path.

Any ideas how to resolve this issue? I'm using kas2.0.

Thanks and regards,

marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

Henning Schild

unread,
May 4, 2021, 8:30:36 AM5/4/21
to Belisko Marek, kas-devel
i know that problem exactly and there is a solution for "out of tree"
building

export KAS_WORK_DIR=$( pwd )/out
kas build
kas-container build

regards,
Henning

Am Tue, 4 May 2021 13:42:44 +0200
schrieb Belisko Marek <marek....@gmail.com>:

Belisko Marek

unread,
May 4, 2021, 8:35:07 AM5/4/21
to Henning Schild, kas-devel
On Tue, May 4, 2021 at 2:30 PM Henning Schild
<henning...@siemens.com> wrote:
>
> i know that problem exactly and there is a solution for "out of tree"
> building
>
> export KAS_WORK_DIR=$( pwd )/out
I tried to set this before but it basically just put the build
directory to out/build and this is not what I want.
Isn't there way to tell kas that custom layer is in sub-directory?
> kas build
> kas-container build
>
> regards,
> Henning

BR,

marek

Jan Kiszka

unread,
May 4, 2021, 8:54:20 AM5/4/21
to Belisko Marek, kas-devel
On 04.05.21 13:42, Belisko Marek wrote:
> Hi,
>
> I have a local project where all meta-layers local + cloned was in the
> root directory and I would like to move then to the sub directory to
> keep the root directory clean. I've added for every layer path:
> layers/<name> and it works as expected. Only issue I have with custom
> repository I have defined in yml like:
>
> meta-gateway:
> layers:
> meta-gateway:
>
> which works as expected. I just blindly extend to this:
> meta-gateway:
> path: layers
> layers:
> meta-gateway:
>
> but now bblayers.conf is NOK as it shows as last item:
> "layers/meta-gateway" instead of full path.
>
> Any ideas how to resolve this issue? I'm using kas2.0.
>

Update to 2.4, because that contains
https://github.com/siemens/kas/commit/1f1a21992d03dddd9fc93bab4880c6b0ef97d41b.

Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Belisko Marek

unread,
May 5, 2021, 3:59:15 AM5/5/21
to Jan Kiszka, kas-devel
Thanks that did the trick.
>
> Jan
>
> --
> Siemens AG, T RDA IOT
> Corporate Competence Center Embedded Linux

Reply all
Reply to author
Forward
0 new messages