diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-05-06 11:35:38 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-06 15:16:03 +0000 |
commit | 59242a4bf29d909fd1dac3e255551905b2b75415 (patch) | |
tree | 48e65ae870002bdbbed122921a12ad58cb1cb52d /docker/Dockerfile | |
parent | 2da9d989d17e90d12a6d22222270729531721a5e (diff) | |
download | vyos-build-59242a4bf29d909fd1dac3e255551905b2b75415.tar.gz vyos-build-59242a4bf29d909fd1dac3e255551905b2b75415.zip |
T6307: Add dependency procps to build vyos-1x
This fixes the sysctl dependency
```
======================================================================
ERROR: test_sysctl_read (test_utils.TestVyOSUtils.test_sysctl_read)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vyos/work/tmp/vyos-1x/src/tests/test_utils.py", line 28, in test_sysctl_read
self.assertEqual(sysctl_read('net.ipv4.conf.lo.forwarding'), '1')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/vyos/work/tmp/vyos-1x/python/vyos/utils/system.py", line 28, in sysctl_read
tmp = run(['sysctl', '-nb', name], capture_output=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'sysctl'
```
(cherry picked from commit 9d07adceb77fe611d82b0242e28f1ca7c4637ef3)
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 927c2fa9..71cc98cf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -226,6 +226,7 @@ RUN pip install --break-system-packages \ fakeroot \ iproute2 \ libzmq3-dev \ + procps \ python3 \ python3-setuptools \ python3-inotify \ |