Fix mkosi on Arch Linux
authorKevin Kuehler <keur@xcf.berkeley.edu>
Thu, 31 Oct 2019 09:32:23 +0000 (02:32 -0700)
committerKevin Kuehler <keur@xcf.berkeley.edu>
Thu, 31 Oct 2019 09:32:23 +0000 (02:32 -0700)
/* test compression */
XZ compression finished (38280 -> 11756 bytes, 30.7%)
sh: diff: command not found
Assertion 'system(cmd) == 0' failed at src/journal/test-compress.c:198,
function test_compress_stream(). Aborting.

The journal compression test shells out to diff, so include diffutils as
a BuildPackage on Arch.

Remaining fixes in https://github.com/systemd/mkosi/pull/377

.mkosi/mkosi.arch

index 0561fec..ce0c1ae 100644 (file)
@@ -23,6 +23,7 @@ BuildPackages=
         cryptsetup
         curl
         dbus
+        diffutils
         docbook-xsl
         elfutils
         gcc