]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
debian/control: add iproute2 to build dependencies 66737/head
authorKefu Chai <k.chai@proxmox.com>
Wed, 24 Dec 2025 05:55:26 +0000 (13:55 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 25 Dec 2025 00:14:39 +0000 (08:14 +0800)
commitb56db22597157753d3b4e0e2b0dd76b0ca103f64
treeb728a9bb9db488aa7622952ad536c6733e9947bc
parentc8f58f36a046eeb2539e2b14f3a53249a509d719
debian/control: add iproute2 to build dependencies

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
<pkg.ceph.check> 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 <k.chai@proxmox.com>
(cherry picked from commit 599922aa582bbaa6fa8c8e274b780fabafb10a9b)
debian/control