Skip to content

Commit af9d12d

Browse files
committed
fix(kas): debian/bookworm-base should not include common/base
The config/base fragment defines a default target. That was fine until we wanted to build using kas/debian/mtda-rpi4b-ebg.yml:kas/debian/trixie-base.yml The debian/trixie-base fragment would override the non-default target "mtda-immutable-image" but that change would be lost with debian/trixie-base since it would include again common/base. Targets should include both common/base and debian/*-base Suggested-by: Felix Moessbauer <[email protected]> Signed-off-by: Cedric Hombourger <[email protected]>
1 parent 03c0a38 commit af9d12d

12 files changed

+17
-4
lines changed

kas/ci/fast.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
# ---------------------------------------------------------------------------
1111

1212
build_system: isar
13+
machine: qemuamd64
1314

1415
header:
1516
version: 17
1617
includes:
18+
- kas/common/base.yml
1719
- kas/debian/bookworm-base.yml
1820

1921
target:

kas/ci/full.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ---------------------------------------------------------------------------
2-
# Debian image to run MTDA on NanoPI variants
2+
# Build Debian images for bookworm
33
# ---------------------------------------------------------------------------
44
#
55
# This software is a part of MTDA.
@@ -10,10 +10,12 @@
1010
# ---------------------------------------------------------------------------
1111

1212
build_system: isar
13+
machine: qemuamd64
1314

1415
header:
1516
version: 17
1617
includes:
18+
- kas/common/base.yml
1719
- kas/debian/bookworm-base.yml
1820

1921
target:

kas/common/base.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
header:
1313
version: 17
1414

15-
machine: qemuamd64
1615
target: mtda-image
1716

1817
repos:

kas/debian/bookworm-base.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
header:
1313
version: 17
14-
includes:
15-
- kas/common/base.yml
1614

1715
distro: mtda-bookworm
16+
17+
bblayers_conf_header:
18+
distro-override: |
19+
DISTRO:forcevariable = "mtda-bookworm"

kas/debian/mtda-beaglebone-black.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ machine: beaglebone-black
1515
header:
1616
version: 17
1717
includes:
18+
- kas/common/base.yml
1819
- kas/debian/bookworm-base.yml

kas/debian/mtda-nanopi-neo-ebg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ machine: nanopi-neo-ebg
1515
header:
1616
version: 17
1717
includes:
18+
- kas/common/base.yml
1819
- kas/debian/bookworm-base.yml
1920
- kas/opt/ab-rootfs.yml

kas/debian/mtda-nanopi-neo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ machine: nanopi-neo
1515
header:
1616
version: 17
1717
includes:
18+
- kas/common/base.yml
1819
- kas/debian/bookworm-base.yml

kas/debian/mtda-qemu-amd64-ebg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ machine: qemuamd64-ebg
1515
header:
1616
version: 17
1717
includes:
18+
- kas/common/base.yml
1819
- kas/debian/bookworm-base.yml
1920
- kas/opt/ab-rootfs.yml

kas/debian/mtda-qemu-amd64.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ machine: qemuamd64
1515
header:
1616
version: 17
1717
includes:
18+
- kas/common/base.yml
1819
- kas/debian/bookworm-base.yml

kas/debian/mtda-rpi4b-ebg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ machine: rpi4b-ebg
1515
header:
1616
version: 17
1717
includes:
18+
- kas/common/base.yml
1819
- kas/debian/bookworm-base.yml
1920
- kas/opt/ab-rootfs.yml

0 commit comments

Comments
 (0)