From 1aa2dafe6c5b7101b7e97de5c6abf0ac3fbf8efe Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Tue, 17 Feb 2026 14:16:51 +0200 Subject: [PATCH 1/5] rootfs: Rename scripts to trixie Signed-off-by: Denys Fedoryshchenko --- ...{bookworm-blktest.sh => trixie-blktest.sh} | 0 ...os-ec-tests.sh => trixie-cros-ec-tests.sh} | 0 ...orm-cros-flash.sh => trixie-cros-flash.sh} | 0 ...m-deqp-runner.sh => trixie-deqp-runner.sh} | 0 ...injection.sh => trixie-fault-injection.sh} | 0 ...m-gst-fluster.sh => trixie-gst-fluster.sh} | 10 +++++++-- ...gst-h26forge.sh => trixie-gst-h26forge.sh} | 21 +++++++++++++++++-- ...kworm-kselftest.sh => trixie-kselftest.sh} | 0 ...unit-tests.sh => trixie-kvm-unit-tests.sh} | 0 ...kworm-libcamera.sh => trixie-libcamera.sh} | 0 ...libhugetlbfs.sh => trixie-libhugetlbfs.sh} | 0 .../scripts/{bookworm-rt.sh => trixie-rt.sh} | 0 .../{bookworm-tast.sh => trixie-tast.sh} | 0 .../{bookworm-v4l2.sh => trixie-v4l2.sh} | 0 .../{bookworm-vdso.sh => trixie-vdso.sh} | 0 15 files changed, 27 insertions(+), 4 deletions(-) rename config/rootfs/debos/scripts/{bookworm-blktest.sh => trixie-blktest.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-cros-ec-tests.sh => trixie-cros-ec-tests.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-cros-flash.sh => trixie-cros-flash.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-deqp-runner.sh => trixie-deqp-runner.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-fault-injection.sh => trixie-fault-injection.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-gst-fluster.sh => trixie-gst-fluster.sh} (95%) rename config/rootfs/debos/scripts/{bookworm-gst-h26forge.sh => trixie-gst-h26forge.sh} (79%) rename config/rootfs/debos/scripts/{bookworm-kselftest.sh => trixie-kselftest.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-kvm-unit-tests.sh => trixie-kvm-unit-tests.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-libcamera.sh => trixie-libcamera.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-libhugetlbfs.sh => trixie-libhugetlbfs.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-rt.sh => trixie-rt.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-tast.sh => trixie-tast.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-v4l2.sh => trixie-v4l2.sh} (100%) rename config/rootfs/debos/scripts/{bookworm-vdso.sh => trixie-vdso.sh} (100%) diff --git a/config/rootfs/debos/scripts/bookworm-blktest.sh b/config/rootfs/debos/scripts/trixie-blktest.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-blktest.sh rename to config/rootfs/debos/scripts/trixie-blktest.sh diff --git a/config/rootfs/debos/scripts/bookworm-cros-ec-tests.sh b/config/rootfs/debos/scripts/trixie-cros-ec-tests.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-cros-ec-tests.sh rename to config/rootfs/debos/scripts/trixie-cros-ec-tests.sh diff --git a/config/rootfs/debos/scripts/bookworm-cros-flash.sh b/config/rootfs/debos/scripts/trixie-cros-flash.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-cros-flash.sh rename to config/rootfs/debos/scripts/trixie-cros-flash.sh diff --git a/config/rootfs/debos/scripts/bookworm-deqp-runner.sh b/config/rootfs/debos/scripts/trixie-deqp-runner.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-deqp-runner.sh rename to config/rootfs/debos/scripts/trixie-deqp-runner.sh diff --git a/config/rootfs/debos/scripts/bookworm-fault-injection.sh b/config/rootfs/debos/scripts/trixie-fault-injection.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-fault-injection.sh rename to config/rootfs/debos/scripts/trixie-fault-injection.sh diff --git a/config/rootfs/debos/scripts/bookworm-gst-fluster.sh b/config/rootfs/debos/scripts/trixie-gst-fluster.sh similarity index 95% rename from config/rootfs/debos/scripts/bookworm-gst-fluster.sh rename to config/rootfs/debos/scripts/trixie-gst-fluster.sh index a60250a0fb..445fb55fa3 100755 --- a/config/rootfs/debos/scripts/bookworm-gst-fluster.sh +++ b/config/rootfs/debos/scripts/trixie-gst-fluster.sh @@ -17,7 +17,7 @@ BUILD_DEPS="\ jq \ wget \ unzip \ - software-properties-common + " GST_DEPS="\ @@ -40,7 +40,13 @@ pip3 install meson --break-system-packages if [ "$(uname -m)" == "x86_64" ]; then # Install non-free intel media-driver - apt-add-repository -y non-free + if command -v apt-add-repository >/dev/null 2>&1; then + apt-add-repository -y non-free + else + codename=$(. /etc/os-release && echo "${VERSION_CODENAME:-trixie}") + printf "deb http://deb.debian.org/debian %s non-free\n" "${codename}" \ + >> /etc/apt/sources.list.d/non-free.list + fi apt-get update apt-get install -y intel-media-va-driver-non-free fi diff --git a/config/rootfs/debos/scripts/bookworm-gst-h26forge.sh b/config/rootfs/debos/scripts/trixie-gst-h26forge.sh similarity index 79% rename from config/rootfs/debos/scripts/bookworm-gst-h26forge.sh rename to config/rootfs/debos/scripts/trixie-gst-h26forge.sh index cd6bfe3b75..1bf825b224 100755 --- a/config/rootfs/debos/scripts/bookworm-gst-h26forge.sh +++ b/config/rootfs/debos/scripts/trixie-gst-h26forge.sh @@ -14,7 +14,6 @@ BUILD_DEPS="\ jq \ wget \ unzip \ - software-properties-common \ libclang-dev " @@ -30,7 +29,6 @@ echo 'deb http://deb.debian.org/debian bookworm-backports main' >>/etc/apt/sourc apt-get update apt-get install --no-install-recommends -y ${BUILD_DEPS} ${GST_DEPS} curl apt-mark manual python3 libpython3-stdlib python3 libglib2.0-0 libgudev-1.0 -apt-get remove -y libgstreamer1.0-0 # Get latest meson from pip pip3 install meson --break-system-packages @@ -83,6 +81,14 @@ meson setup build \ ninja -C build ninja -C build install +ldconfig + +# Ensure the SONAME required by gst-launch is resolvable at runtime. +if ! ldconfig -p | grep -q "libgstreamer-1.0.so.0"; then + echo "libgstreamer runtime missing; installing from Debian packages" + apt-get install --no-install-recommends -y libgstreamer1.0-0 + ldconfig +fi mkdir -p /opt/h26forge && cd /opt/h26forge @@ -97,6 +103,17 @@ if [ ! -f $H26FORGE ]; then fi mkdir -p $output_dir +# Ensure parsebin is available: required for this test pipeline +if ! gst-inspect-1.0 parsebin >/dev/null 2>&1; then + echo "parsebin not found; installing distro plugin packages" + apt-get install --no-install-recommends -y gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-tools + ldconfig + if ! gst-inspect-1.0 parsebin >/dev/null 2>&1; then + echo "parsebin still not available after plugin install" + exit 1 + fi +fi + for i in $(seq -f "%04g" 0 99); do $H26FORGE $tool_args generate $generation_args -o $output_dir/video$i.264 gst-launch-1.0 filesrc location=$output_dir/video$i.264.mp4 ! parsebin ! fakesink diff --git a/config/rootfs/debos/scripts/bookworm-kselftest.sh b/config/rootfs/debos/scripts/trixie-kselftest.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-kselftest.sh rename to config/rootfs/debos/scripts/trixie-kselftest.sh diff --git a/config/rootfs/debos/scripts/bookworm-kvm-unit-tests.sh b/config/rootfs/debos/scripts/trixie-kvm-unit-tests.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-kvm-unit-tests.sh rename to config/rootfs/debos/scripts/trixie-kvm-unit-tests.sh diff --git a/config/rootfs/debos/scripts/bookworm-libcamera.sh b/config/rootfs/debos/scripts/trixie-libcamera.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-libcamera.sh rename to config/rootfs/debos/scripts/trixie-libcamera.sh diff --git a/config/rootfs/debos/scripts/bookworm-libhugetlbfs.sh b/config/rootfs/debos/scripts/trixie-libhugetlbfs.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-libhugetlbfs.sh rename to config/rootfs/debos/scripts/trixie-libhugetlbfs.sh diff --git a/config/rootfs/debos/scripts/bookworm-rt.sh b/config/rootfs/debos/scripts/trixie-rt.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-rt.sh rename to config/rootfs/debos/scripts/trixie-rt.sh diff --git a/config/rootfs/debos/scripts/bookworm-tast.sh b/config/rootfs/debos/scripts/trixie-tast.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-tast.sh rename to config/rootfs/debos/scripts/trixie-tast.sh diff --git a/config/rootfs/debos/scripts/bookworm-v4l2.sh b/config/rootfs/debos/scripts/trixie-v4l2.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-v4l2.sh rename to config/rootfs/debos/scripts/trixie-v4l2.sh diff --git a/config/rootfs/debos/scripts/bookworm-vdso.sh b/config/rootfs/debos/scripts/trixie-vdso.sh similarity index 100% rename from config/rootfs/debos/scripts/bookworm-vdso.sh rename to config/rootfs/debos/scripts/trixie-vdso.sh From 48d93219a484f2ddd1b844e05f07353d6b47074a Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Tue, 17 Feb 2026 16:33:37 +0200 Subject: [PATCH 2/5] debos: Improve handling firmware, as it grown over time, use /scratch Signed-off-by: Denys Fedoryshchenko --- config/core/rootfs-configs.yaml | 4 ++-- config/rootfs/debos/rootfs.yaml | 7 ++++++- config/rootfs/debos/scripts/install-firmware.sh | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/config/core/rootfs-configs.yaml b/config/core/rootfs-configs.yaml index 61d0c4e85b..06a64b4eb3 100644 --- a/config/core/rootfs-configs.yaml +++ b/config/core/rootfs-configs.yaml @@ -293,9 +293,9 @@ rootfs_configs: # linux_fw_version: d526e044bddaa2c2ad855c7296147e49be0ab03c script: "scripts/debian-igt.sh" test_overlay: "overlays/igt" - imagesize: 4GB + imagesize: 12GB debos_memory: 8G - debos_scratchsize: 16G + debos_scratchsize: 48G trixie-kselftest: diff --git a/config/rootfs/debos/rootfs.yaml b/config/rootfs/debos/rootfs.yaml index 26da74eb75..0b8570073a 100644 --- a/config/rootfs/debos/rootfs.yaml +++ b/config/rootfs/debos/rootfs.yaml @@ -43,10 +43,15 @@ actions: {{ end }} {{ if $extra_firmware }} + - action: run + description: Check free space before firmware install + chroot: false + command: df -h / /tmp ${ROOTDIR} ${ROOTDIR}/lib + - action: run description: add firmware files chroot: false - script: scripts/install-firmware.sh --ignore-duplicates -f {{ $extra_firmware }} {{ if $linux_fw_version }} -v {{ $linux_fw_version }} {{ end }} + command: TMPDIR=/scratch ${RECIPEDIR}/scripts/install-firmware.sh --ignore-duplicates -f {{ $extra_firmware }} {{ if $linux_fw_version }} -v {{ $linux_fw_version }} {{ end }} {{ end }} - action: run diff --git a/config/rootfs/debos/scripts/install-firmware.sh b/config/rootfs/debos/scripts/install-firmware.sh index 06f3c26a65..7f6993897c 100755 --- a/config/rootfs/debos/scripts/install-firmware.sh +++ b/config/rootfs/debos/scripts/install-firmware.sh @@ -36,13 +36,15 @@ fi DEST=${ROOTDIR}/lib/firmware mkdir -p $DEST +TMP_ROOT=${TMPDIR:-/tmp} + # Because the linux-firmware repo is very big, we use the following # git init hack to fetch a single shallow commit to minimize time, # space and network bandwidth -TMP_REPO=/tmp/linux-firmware +TMP_REPO=${TMP_ROOT}/linux-firmware # As we cannot use git "as-is" we need to "process" git to # intermediate directory by using copy-firmware.sh script -TMP_FW=/tmp/linux-firmware-parsed +TMP_FW=${TMP_ROOT}/linux-firmware-parsed mkdir -p $TMP_FW mkdir -p $TMP_REPO && cd $TMP_REPO From 2744bb17d87e855acd0a4f15c2f3bc010bbbb91b Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Tue, 17 Feb 2026 16:43:51 +0200 Subject: [PATCH 3/5] rootfs: trixie-igt fixes Signed-off-by: Denys Fedoryshchenko --- config/rootfs/debos/scripts/debian-igt.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/rootfs/debos/scripts/debian-igt.sh b/config/rootfs/debos/scripts/debian-igt.sh index 4272588b60..ca6b77a813 100755 --- a/config/rootfs/debos/scripts/debian-igt.sh +++ b/config/rootfs/debos/scripts/debian-igt.sh @@ -64,8 +64,10 @@ IGT_URL=https://gitlab.freedesktop.org/drm/igt-gpu-tools.git IGT_VERSION=e7e14eff66bc42329903ee579f019094cf1fdfce mkdir -p /tmp/tests/igt-gpu-tools && cd /tmp/tests/igt-gpu-tools -git clone --depth=1 $IGT_URL . -git checkout "$IGT_VERSION" +git init +git remote add origin $IGT_URL +git fetch --depth=1 origin ${IGT_VERSION} +git checkout FETCH_HEAD echo ' {"name": "igt-gpu-tools", "git_url": "'$IGT_URL'", "git_commit": "'$IGT_VERSION'"}' >> $BUILDFILE From 45e02e089df4fa864ef27c4c09f733155dfee164 Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Tue, 17 Feb 2026 16:52:16 +0200 Subject: [PATCH 4/5] rootfs: trixie-kselftest fixes Signed-off-by: Denys Fedoryshchenko --- config/core/rootfs-configs.yaml | 10 +++++----- config/rootfs/debos/scripts/trixie-cros-ec-tests.sh | 3 +-- config/rootfs/debos/scripts/trixie-v4l2.sh | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/config/core/rootfs-configs.yaml b/config/core/rootfs-configs.yaml index 06a64b4eb3..dae7a38448 100644 --- a/config/core/rootfs-configs.yaml +++ b/config/core/rootfs-configs.yaml @@ -114,7 +114,7 @@ rootfs_configs: - armhf extra_packages: - python3-minimal - - python3-unittest2 + - python3-nose2 - tzdata extra_packages_remove: - bash @@ -330,7 +330,6 @@ rootfs_configs: - libnuma1 - libpam-cap - libpcre2-8-0 - - libperl5.36 - libpsl5 - liburing2 - libxtables12 @@ -339,12 +338,13 @@ rootfs_configs: - net-tools - openssl - perl - - perl-modules-5.36 + - libperl5.40 + - perl-modules-5.40 - procps - psmisc - publicsuffix - python3-minimal - - python3-unittest2 + - python3-nose2 - python3-yaml - socat - tappy @@ -365,7 +365,7 @@ rootfs_configs: - arm64 extra_packages: - python3-minimal - - python3-unittest2 + - python3-nose2 - python3-yaml - qemu-system script: "scripts/trixie-kvm-unit-tests.sh" diff --git a/config/rootfs/debos/scripts/trixie-cros-ec-tests.sh b/config/rootfs/debos/scripts/trixie-cros-ec-tests.sh index 91884264bb..e7c859ec8a 100755 --- a/config/rootfs/debos/scripts/trixie-cros-ec-tests.sh +++ b/config/rootfs/debos/scripts/trixie-cros-ec-tests.sh @@ -40,7 +40,6 @@ echo ' ]}' >> $BUILDFILE rm -fr /src/cros-ec-tests -apt-get remove --purge -y ${BUILD_DEPS} perl-modules-5.36 +apt-get remove --purge -y ${BUILD_DEPS} perl-modules-5.40 apt-get autoremove --purge -y apt-get clean - diff --git a/config/rootfs/debos/scripts/trixie-v4l2.sh b/config/rootfs/debos/scripts/trixie-v4l2.sh index 155b6921e1..f3091434b0 100755 --- a/config/rootfs/debos/scripts/trixie-v4l2.sh +++ b/config/rootfs/debos/scripts/trixie-v4l2.sh @@ -66,7 +66,7 @@ cd /tmp rm -rf /tmp/tests apt-get remove --purge -y ${BUILD_DEPS} -apt-get remove --purge -y perl-modules-5.36 +apt-get remove --purge -y perl-modules-5.40 apt-get autoremove --purge -y apt-get clean From 69963e2c210698d9b12df9aa303ddbabbfa7105d Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Tue, 17 Feb 2026 18:08:02 +0200 Subject: [PATCH 5/5] rootfs: LTP bump up snapshot, so it will compile in Trixie Signed-off-by: Denys Fedoryshchenko --- config/rootfs/debos/scripts/trixie-ltp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfs/debos/scripts/trixie-ltp.sh b/config/rootfs/debos/scripts/trixie-ltp.sh index 8a989656e7..2255982a11 100755 --- a/config/rootfs/debos/scripts/trixie-ltp.sh +++ b/config/rootfs/debos/scripts/trixie-ltp.sh @@ -5,7 +5,7 @@ set -e LTP_URL="https://github.com/linux-test-project/ltp.git" -LTP_SHA=20250930 +LTP_SHA=20260130 # Version of Kirk to install KIRK_VERSION=v2.3