]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
debian/control: add iproute2 to build dependencies 66732/head
authorKefu Chai <k.chai@proxmox.com>
Wed, 24 Dec 2025 05:55:26 +0000 (13:55 +0800)
committerKefu Chai <k.chai@proxmox.com>
Wed, 24 Dec 2025 06:17:24 +0000 (14:17 +0800)
commit599922aa582bbaa6fa8c8e274b780fabafb10a9b
treee3a272e41a8938acbcbd67a194cb487f0e9eb867
parentec0e50844413271a755752b36203cd0bc03728ee
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>
debian/control