From b6458dd66b27b263af9ef3eb6132d1cab7b14b4a Mon Sep 17 00:00:00 2001 From: Aishwarya TCV Date: Tue, 20 Oct 2026 12:32:19 +0100 Subject: [PATCH] rootfs: add missing LTP build and runtime dependencies Install target development libraries before configuring LTP so optional tests are built instead of dependency-skip stubs. Remove build-only packages after compilation and include the runtime libraries, compiler, headers and tools required by installed tests. Replace runtime libnuma-dev with libnuma1 and explicitly install libc6-dev because package recommendations are disabled. Signed-off-by: Aishwarya TCV --- config/core/rootfs-configs.yaml | 12 +++++++++++- config/rootfs/debos/rootfs.yaml | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/config/core/rootfs-configs.yaml b/config/core/rootfs-configs.yaml index 38e79fc100..6d6950eeef 100644 --- a/config/core/rootfs-configs.yaml +++ b/config/core/rootfs-configs.yaml @@ -419,21 +419,31 @@ rootfs_configs: - armhf - riscv64 extra_packages: + - bc - btrfs-progs + - bzip2 - ca-certificates - curl - dosfstools - e2fsprogs + - file + - gcc - gdb-minimal - iproute2 + - iputils-ping - jq - - libnuma-dev + - libaio1t64 + - libc6-dev + - libnuma1 - net-tools - nfs-kernel-server - ntfs-3g + - numactl - parted + - psmisc - python3 - quota + - unzip - xfsprogs script: "scripts/trixie-ltp.sh" imagesize: 2GB diff --git a/config/rootfs/debos/rootfs.yaml b/config/rootfs/debos/rootfs.yaml index 28307012d5..99fe1305d8 100644 --- a/config/rootfs/debos/rootfs.yaml +++ b/config/rootfs/debos/rootfs.yaml @@ -71,8 +71,14 @@ actions: description: Install cross-build target dependencies recommends: false packages: + - libacl1-dev + - libaio-dev - libc6-dev + - libcap-dev + - libmnl-dev - libnuma-dev + - libssl-dev + - libtirpc-dev {{ end }} - action: run @@ -89,7 +95,11 @@ actions: - action: run description: Remove cross-build target dependencies chroot: true - command: apt-get autoremove --purge -y libc6-dev libnuma-dev && apt-get clean + command: >- + apt-get autoremove --purge -y + libacl1-dev libaio-dev libc6-dev libcap-dev + libmnl-dev libnuma-dev libssl-dev libtirpc-dev + && apt-get clean {{ end }} - action: run