[PATCH] [autotest-client-tests] UBUNTU SAUCE: ubuntu_ltp_syscalls: do not install python-packaging on hirsute

Andrea Righi andrea.righi at canonical.com
Tue Nov 10 16:26:32 UTC 2020


Hirsute does not have python-packaging, so exclude this package from the
list of extra packages to install in the setup phase.

Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
---
 ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py b/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py
index dac16692..c3ceed2d 100644
--- a/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py
+++ b/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py
@@ -57,7 +57,7 @@ class ubuntu_ltp_syscalls(test.test):
             pkgs.append('nfs-kernel-server')
         if self.series not in ['trusty']:
             pkgs.append('haveged')
-        if self.series not in ['trusty', 'groovy']:
+        if self.series not in ['trusty', 'groovy', 'hirsute']:
             pkgs.append('python-packaging')
 
         cmd = 'yes "" | DEBIAN_FRONTEND=noninteractive apt-get install --yes --force-yes ' + ' '.join(pkgs)
-- 
2.28.0




More information about the kernel-team mailing list