[PATCH 1/2] docs: add oe-core nodistro example

1 view
Skip to first unread message

Felix Moessbauer

unread,
Sep 12, 2025, 10:57:18 AM (14 days ago) Sep 12
to kas-...@googlegroups.com, jan.k...@siemens.com, ro...@burtonini.com, sba...@nabladev.com, Felix Moessbauer
OpenEmbedded starts to split the poky repository into individual
components (bitbake and core). By that, bitbake does not come along with
the layers, but as individual repository. We already support this case,
however writing a configuration for that case might be non trivial for
newcomers. To help them, we add an example.

Signed-off-by: Felix Moessbauer <felix.mo...@siemens.com>
---
docs/userguide/project-configuration.rst | 8 ++++
examples/oe-core-nodistro.yml | 59 ++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 examples/oe-core-nodistro.yml

diff --git a/docs/userguide/project-configuration.rst b/docs/userguide/project-configuration.rst
index 9bdce1fcc..78cb80bf0 100644
--- a/docs/userguide/project-configuration.rst
+++ b/docs/userguide/project-configuration.rst
@@ -514,10 +514,18 @@ both OpenEmbedded and ISAR based distributions.
OpenEmbedded
------------

+**Poky**
+
.. literalinclude:: ../../examples/openembedded.yml
:language: YAML
:lines: 25-

+**oe-core (nodistro)**
+
+.. literalinclude:: ../../examples/oe-core-nodistro.yml
+ :language: YAML
+ :lines: 25-
+
ISAR
----

diff --git a/examples/oe-core-nodistro.yml b/examples/oe-core-nodistro.yml
new file mode 100644
index 000000000..e28ac6f7f
--- /dev/null
+++ b/examples/oe-core-nodistro.yml
@@ -0,0 +1,59 @@
+#
+# kas - setup tool for bitbake based projects
+#
+# Copyright (c) Siemens, 2025
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be
+# included in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+#
+
+header:
+ version: 19
+
+# Optionally provide keys to verify signed repositories
+signers:
+ YoctoBuildandRelease:
+ fingerprint: 2AFB13F28FBBB0D1B9DAF63087EB3D32FB631AD9
+ gpg_keyserver: keyserver.ubuntu.com
+
+machine: qemux86-64
+distro: nodistro
+
+target: zlib-native
+
+repos:
+ bitbake:
+ url: https://github.com/openembedded/bitbake.git
+ tag: yocto-5.2.3
+ commit: 710f98844ae30416bdf6a01b655df398b49574ec
+ signed: true
+ allowed_signers:
+ - YoctoBuildandRelease
+ # this repo does not provide any layers
+ layers:
+ .: disabled
+
+ core:
+ url: https://github.com/openembedded/openembedded-core.git
+ tag: yocto-5.2.3
+ commit: 347cb0861dde58613541ce692778f907943a60ea
+ signed: true
+ allowed_signers:
+ - YoctoBuildandRelease
+ layers:
+ meta:
--
2.51.0

Felix Moessbauer

unread,
Sep 12, 2025, 10:57:18 AM (14 days ago) Sep 12
to kas-...@googlegroups.com, jan.k...@siemens.com, ro...@burtonini.com, sba...@nabladev.com, Felix Moessbauer
To ensure this example does not degrade over time, we test build it in
the CI.

Signed-off-by: Felix Moessbauer <felix.mo...@siemens.com>
---
.github/workflows/next.yml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml
index 77c667efa..745a7d743 100644
--- a/.github/workflows/next.yml
+++ b/.github/workflows/next.yml
@@ -97,6 +97,11 @@ jobs:
echo "Test kas purge"
../../kas-container purge kas.yml
! [ -d poky ] && ! [ -d isar ] && ! [ -d build ]
+ # kas only: build oe-core nodistro example
+ if [[ "${{ matrix.image-name }}" == "kas" ]]; then
+ echo "Test oe-core nodistro"
+ ../../kas-container build ../../examples/oe-core-nodistro.yml
+ fi
- name: Complete build and deploy ${{ matrix.image-name }} image
if: github.ref == 'refs/heads/next'
uses: docker/build-push-action@v6
--
2.51.0

Jan Kiszka

unread,
Sep 12, 2025, 1:49:59 PM (14 days ago) Sep 12
to Felix Moessbauer, kas-...@googlegroups.com, ro...@burtonini.com, sba...@nabladev.com
Thanks, both applied.

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center
Reply all
Reply to author
Forward
0 new messages