Bug#1084987: Could someone of the s390 porters have a look at s390-tools

Andreas Tille <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.ports.s390
Message-ID <[email protected]>
Hi Pranav,

Am Mon, Jan 12, 2026 at 01:04:35PM +0000 schrieb Pranav P:
> I managed to package and run autopkgtest on the latest s390-tools master branch available in salsa.
> I used gbp buildpackage for building the package. I hope that is the way to go. Also ran an sbuild.

That's absolutely the way to go.

> I had to add the following packages as build dependencies to the control file:
> 
> libnl-3-dev, libnl-genl-3-dev, libnl-route-3-dev
> 
> Also I had to add the following lines to debian/s390-tools.install :
> 
> /usr/sbin/opticsmon
> /usr/sbin/zmemtopo
> /usr/lib/libekmfweb.so.1.1
> /usr/share/bash-completion/completions/chcpumf.bash
> /usr/share/bash-completion/completions/dasdfmt.bash
> /usr/share/bash-completion/completions/lscpumf.bash
> /usr/share/bash-completion/completions/lshwc.bash
> /usr/share/bash-completion/completions/lspai.bash
> /usr/share/bash-completion/completions/pai.bash

Just from gut feeling:  It looks as if

   /usr/share/bash-completion/completions

would be sufficient to simply install all bash-completions.

> /usr/share/man/man1/zpwr.1
> /usr/share/man/man8/lsiucvallow.8
> /usr/share/man/man8/opticsmon.8
> /usr/share/man/man8/zmemtopo.8

I realised that the current debian/s390-tools.install lists all those
manpages.  I wonder whether this should not be rather in
   debian/s390-tools.manpages
where you simply list

  /usr/share/man/man1/*
  /usr/share/man/man8/*

This sounds way more simple and most probably safe for future new
upstream versions which might need less packaging code changes.

> /usr/share/s390-tools/pvimg/stage3a.bin
> /usr/share/s390-tools/pvimg/stage3b_reloc.bin
> /usr/share/zsh/site-functions/_chcpumf
> /usr/share/zsh/site-functions/_dasdfmt
> /usr/share/zsh/site-functions/_lscpumf
> /usr/share/zsh/site-functions/_lshwc
> /usr/share/zsh/site-functions/_lspai
> /usr/share/zsh/site-functions/_pai

Similar as above I would tend to

  /usr/share/zsh/site-functions

> Sorry for the delay. I got a bit stuck between figuring out the process.

That's perfectly fine.

> Please tell me if I need to do anything apart from this.

Pushing your changes would be helpful. ;-)

> And thanks a lot once again for all this help and kind words.

You are perfectly welcome

    Andreas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.