Skip to content

Commit cef986d

Browse files
committed
feat(kas): initial support for trixie
Signed-off-by: Cedric Hombourger <[email protected]>
1 parent cfade54 commit cef986d

File tree

9 files changed

+117
-6
lines changed

9 files changed

+117
-6
lines changed

.github/wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ tizen
124124
Tizen's
125125
TPM
126126
tpmtool
127+
trixie
127128
ttyS
128129
UDP
129130
UI

.github/workflows/main.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,18 @@ jobs:
5151
if: github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/v')
5252
run: |
5353
./kas-container build kas/ci/fast.yml
54-
- name: Build Full CI targets
54+
- name: Build Full CI targets for bookworm
5555
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
5656
run: |
57-
./kas-container build kas/ci/full.yml
57+
./kas-container build kas/ci/full-bookworm.yml
58+
- name: Build Full CI targets for trixie
59+
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
60+
run: |
61+
./kas-container build kas/ci/full-trixie.yml
62+
- name: Build Full CI targets for noble
63+
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
64+
run: |
65+
./kas-container build kas/ci/full-noble.yml
5866
- name: Upload NanoPI images
5967
uses: actions/upload-artifact@v4
6068
if: startsWith(github.ref, 'refs/tags/v')
@@ -71,14 +79,22 @@ jobs:
7179
path: |
7280
build/tmp/deploy/images/beaglebone-*/mtda-image-mtda-*-beaglebone-*.wic
7381
build/tmp/deploy/images/beaglebone-*/mtda-image-mtda-*-beaglebone-*.wic.bmap
74-
- name: Publish Debian packages to Gemfury
82+
- name: Publish Debian bookworm packages to Gemfury
7583
env:
7684
GEMFURY_PUSH_TOKEN: ${{ secrets.GEMFURY_PUSH_TOKEN }}
7785
if: startsWith(github.ref, 'refs/tags/v')
7886
run: |
7987
find build/tmp/deploy/isar-apt/mtda-bookworm-* -name '*.deb' -print | while read p; do
8088
curl -F package=@${p} https://{$GEMFURY_PUSH_TOKEN}@push.fury.io/mtda/;
8189
done
90+
- name: Publish Debian trixie packages to Gemfury
91+
env:
92+
GEMFURY_PUSH_TOKEN: ${{ secrets.GEMFURY_TRIXIE_PUSH_TOKEN }}
93+
if: startsWith(github.ref, 'refs/tags/v')
94+
run: |
95+
find build/tmp/deploy/isar-apt/mtda-trixie-* -name '*.deb' -print | while read p; do
96+
curl -F package=@${p} https://{$GEMFURY_PUSH_TOKEN}@push.fury.io/mtda-trixie/;
97+
done
8298
- name: Import GPG key
8399
if: startsWith(github.ref, 'refs/tags/v')
84100
id: import_gpg

docs/install.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
Installation
22
============
33

4+
Using apt on Debian 13
5+
----------------------
6+
7+
Set up MTDA apt repository::
8+
9+
# Add MTDA's GPG key:
10+
$ sudo install -m 0755 -d /etc/apt/keyrings
11+
$ curl -fsSL https://apt.fury.io/mtda-trixie/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/mtda.gpg
12+
$ sudo chmod a+r /etc/apt/keyrings/mtda.gpg
13+
14+
# Add repository to Apt sources
15+
$ echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/mtda.gpg] https://apt.fury.io/mtda-trixie/ /" | sudo tee /etc/apt/sources.list.d/mtda.list
16+
17+
Packages for Debian 13 (trixie) may be installed as follows::
18+
19+
$ sudo apt-get update
20+
$ sudo apt-get install -y mtda
21+
422
Using apt on Debian 12
523
----------------------
624

kas/ci/full.yml renamed to kas/ci/full-bookworm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,3 @@ target:
2424
- mc:rpi4b:mtda-image
2525
- mc:debian-qemu-amd64:mtda
2626
- mc:debian-qemu-amd64:qemu-packages
27-
- mc:ubuntu-qemu-amd64:mtda
28-
- mc:ubuntu-qemu-amd64:qemu-packages

kas/ci/full-noble.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# ---------------------------------------------------------------------------
2+
# Build Ubuntu packages for noble
3+
# ---------------------------------------------------------------------------
4+
#
5+
# This software is a part of MTDA.
6+
# Copyright (C) 2025 Siemens AG
7+
#
8+
# ---------------------------------------------------------------------------
9+
# SPDX-License-Identifier: MIT
10+
# ---------------------------------------------------------------------------
11+
12+
build_system: isar
13+
distro: ubuntu-noble
14+
machine: qemuamd64
15+
16+
header:
17+
version: 17
18+
includes:
19+
- kas/common/base.yml
20+
21+
target:
22+
- mc:ubuntu-qemu-amd64:mtda
23+
- mc:ubuntu-qemu-amd64:qemu-packages

kas/ci/full-trixie.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# ---------------------------------------------------------------------------
2+
# Build Debian images for trixie
3+
# ---------------------------------------------------------------------------
4+
#
5+
# This software is a part of MTDA.
6+
# Copyright (C) 2025 Siemens AG
7+
#
8+
# ---------------------------------------------------------------------------
9+
# SPDX-License-Identifier: MIT
10+
# ---------------------------------------------------------------------------
11+
12+
build_system: isar
13+
machine: qemuamd64
14+
15+
header:
16+
version: 17
17+
includes:
18+
- kas/common/base.yml
19+
- kas/debian/trixie-base.yml
20+
21+
target:
22+
- mc:beaglebone-black:mtda-image
23+
- mc:nanopi-neo:mtda-image
24+
- mc:rpi4b:mtda-image
25+
- mc:debian-qemu-amd64:mtda
26+
- mc:debian-qemu-amd64:qemu-packages

kas/debian/trixie-base.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ---------------------------------------------------------------------------
2+
# Base kas file for all configurations based on Debian trixie
3+
# ---------------------------------------------------------------------------
4+
#
5+
# This software is a part of MTDA.
6+
# Copyright (C) 2025 Siemens AG
7+
#
8+
# ---------------------------------------------------------------------------
9+
# SPDX-License-Identifier: MIT
10+
# ---------------------------------------------------------------------------
11+
12+
header:
13+
version: 17
14+
15+
distro: mtda-trixie
16+
17+
bblayers_conf_header:
18+
distro-override: |
19+
DISTRO:forcevariable = "mtda-trixie"
20+
apt-fury-mtda: |
21+
MTDA_APT_URI ?= "https://apt.fury.io/mtda-trixie/"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ---------------------------------------------------------------------------
2+
# This Isar layer is part of MTDA
3+
# Copyright (C) 2025 Siemens AG
4+
# ---------------------------------------------------------------------------
5+
# SPDX-License-Identifier: MIT
6+
# ---------------------------------------------------------------------------
7+
8+
require conf/distro/debian-trixie.conf

meta-isar/recipes-conf/mtda-repo/mtda-repo_0.1.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This Isar layer is part of MTDA
2-
# Copyright (c) 2023 Siemens AG
2+
# Copyright (c) 2025 Siemens AG
33
# SPDX-License-Identifier: MIT
44

55
DESCRIPTION = "inject mtda binary package feeds into runtime image"

0 commit comments

Comments
 (0)