pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54675: pkg_chk: hostname not found



* On 2019-11-08 at 11:29 GMT, Frédéric Fauberteau wrote:

> The inetutils package is not in the base set of Arch Linux and the hostname
> command is not available by default on a minimal system. pkgtools/pkg_chk
> uses this command in its script and fails.
> 
> The patch provided fixes the issue by adding net/inetutils as a dependency
> if OPSYS is Arch. It works but there maybe is a more elegant/general way to
> solve it. I prefer requesting the opinion of the maintainer before savagely
> committing.

Would it not be simpler to just call $(uname -n) instead?

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index