From b56db22597157753d3b4e0e2b0dd76b0ca103f64 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 24 Dec 2025 13:55:26 +0800 Subject: [PATCH] debian/control: add iproute2 to build dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Test scripts like qa/tasks/cephfs/mount.py expect the ip command to be available in the container environment. Without it, tests fail with: ``` /bin/bash: line 1: ip: command not found File "/ceph/qa/tasks/cephfs/mount.py", line 96, in cleanup_stale_netnses_and_bridge p = remote.run(args=['ip', 'netns', 'list'], ... teuthology.exceptions.CommandFailedError: Command failed with status 127: 'ip netns list' ``` Add iproute2 to the debian package build dependencies when the build profile is enabled. This ensures the package is available during container-based builds, since buildcontainer-setup.sh → script/run-make.sh → install-deps.sh → debian/control → generated dependency package chain respects build profiles configured via `FOR_MAKE_CHECK` and `WITH_CRIMSON` environment variables set in Dockerfile.build. Signed-off-by: Kefu Chai (cherry picked from commit 599922aa582bbaa6fa8c8e274b780fabafb10a9b) --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index 4ff654776b2d3..7d770df19c6c6 100644 --- a/debian/control +++ b/debian/control @@ -21,6 +21,7 @@ Build-Depends: automake, golang, gperf, g++ (>= 11), + iproute2 , javahelper, jq , jsonnet , -- 2.47.3