diff mbox series

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

Message ID 20201110162632.GA3300@xps-13-7390
State New
Headers show
Series [autotest-client-tests] UBUNTU SAUCE: ubuntu_ltp_syscalls: do not install python-packaging on hirsute | expand

Commit Message

Andrea Righi Nov. 10, 2020, 4:26 p.m. UTC
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@canonical.com>
---
 ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King Nov. 10, 2020, 4:31 p.m. UTC | #1
On 10/11/2020 16:26, Andrea Righi wrote:
> 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@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)
> 

+1

Thanks Andrea,

Acked-by: Colin Ian King <colin.king@canonical.com>
Po-Hsu Lin Nov. 11, 2020, 3:09 a.m. UTC | #2
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

Applied and pushed.

Thanks
Sam
diff mbox series

Patch

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)