To use the Fedora configuration rather than the default, one should
use:
# make DISTRO=fedora mkosi
While at it also reduce the root partition size for Arch, since it
doesn't need that much.
linux-headers
[Partitions]
-RootSize = 4G
+RootSize = 2G
--- /dev/null
+[Distribution]
+Distribution=fedora
+Release=27
+
+[Output]
+Output = fedora-image.raw
+
+[Packages]
+Packages = valgrind
+BuildPackages =
+ autoconf
+ automake
+ gcc
+ git
+ gtk-doc
+ kernel-devel
+ libtool
+ libxslt
+ make
+ pkgconf-pkg-config
+ xml-common
+ xz-devel
+ zlib-devel
+
+[Partitions]
+RootSize = 2G