From b9dc511954b080d8b05a44f1758be6dbb4078852 Mon Sep 17 00:00:00 2001 From: Kevin Kuehler Date: Thu, 31 Oct 2019 15:41:32 -0700 Subject: 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. --- .mkosi/mkosi.arch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.mkosi') diff --git a/.mkosi/mkosi.arch b/.mkosi/mkosi.arch index ce0c1ae38e..350d7cd2b8 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 -- cgit v1.2.3