build/checkout fails with "does not contain commit"

4 views
Skip to first unread message

Jörg Sommer

unread,
Jul 8, 2024, 6:49:23 AM (9 days ago) Jul 8
to kas-...@googlegroups.com
Hi,

I've ran `kas-container dump conf.yaml --lock --inplace --update` on another
machine, created a git commit with this and pulled it on my machine. But now
my `kas-container build` complains:

ERROR - Branch "kirkstone" in repository "meta-openembedded" does not contain commit "6ff0748a4741517519a281985fc3cd95dadb633e"

What's missing is a `git fetch origin kirkstone` in the local repository of
meta-openembedded. But how can I trigger this with kas?

Thanks and kind regards, Jörg

MOESSBAUER, Felix

unread,
Jul 8, 2024, 6:57:38 AM (9 days ago) Jul 8
to joerg....@navimatix.de, kas-...@googlegroups.com, Kiszka, Jan
Hi, it looks like this is bug #122 [1] , fixed in 57c2b36 [2].

[1] https://github.com/siemens/kas/issues/122
[2]
https://github.com/siemens/kas/commit/57c2b36c9584ad4f5549bacfe0d8e82035776a10

For a quick workaround, just add --update to the checkout / build call.

Maybe Jan can cut a new kas release that includes the fix. This would
also be good tooling-wise, as Debian bookworm got a point release in
the meantime (calling for kas 4.5).

Happy Hacking!
Felix

>
> Thanks and kind regards, Jörg
>

--
Siemens AG, Technology
Linux Expert Center


Reply all
Reply to author
Forward
0 new messages