Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions config/core/rootfs-configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ rootfs_configs:
- armhf
extra_packages:
- python3-minimal
- python3-unittest2
- python3-nose2
- tzdata
extra_packages_remove:
- bash
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -330,7 +330,6 @@ rootfs_configs:
- libnuma1
- libpam-cap
- libpcre2-8-0
- libperl5.36
- libpsl5
- liburing2
- libxtables12
Expand All @@ -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
Expand All @@ -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"
Expand Down
7 changes: 6 additions & 1 deletion config/rootfs/debos/rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions config/rootfs/debos/scripts/debian-igt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions config/rootfs/debos/scripts/install-firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BUILD_DEPS="\
jq \
wget \
unzip \
software-properties-common

"

GST_DEPS="\
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ BUILD_DEPS="\
jq \
wget \
unzip \
software-properties-common \
libclang-dev
"

Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/rootfs/debos/scripts/trixie-ltp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down