From: Kevin Kuehler Date: Thu, 31 Oct 2019 22:41:32 +0000 (-0700) Subject: mkosi: Find hostname command on Arch Linux X-Git-Tag: v244-rc1~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9dc511954b080d8b05a44f1758be6dbb4078852;p=thirdparty%2Fsystemd.git mkosi: Find hostname command on Arch Linux exec-specifier.service: Executing: /usr/bin/sh -c 'test mkosi-7d5e81c7b81c42338d060a6b98edd44a = $(hostname)' /usr/bin/sh: hostname: command not found /usr/bin/sh: line 0: test: mkosi-7d5e81c7b81c42338d060a6b98edd44a: unary operator expected Received SIGCHLD from PID 7389 (sh). Child 7389 (sh) died (code=exited, status=2/INVALIDARGUMENT) gettext provides the hostname binary, but puts it in /usr/lib/gettext/hostname, which is not part of the default $PATH. Using inetutils instead puts the binary in /usr/bin/hostname. --- diff --git a/.mkosi/mkosi.arch b/.mkosi/mkosi.arch index ce0c1ae38ef..350d7cd2b82 100644 --- a/.mkosi/mkosi.arch +++ b/.mkosi/mkosi.arch @@ -27,11 +27,11 @@ BuildPackages= docbook-xsl elfutils gcc - gettext git gnu-efi-libs gnutls gperf + inetutils iptables kmod libcap