]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: add Fedora's mkosi configuration
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 3 Jan 2018 19:23:51 +0000 (11:23 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 3 Jan 2018 22:22:11 +0000 (14:22 -0800)
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.

testsuite/mkosi/mkosi.arch
testsuite/mkosi/mkosi.fedora [new file with mode: 0644]

index 5ac0a45370d1cf26f67ac23d442406b77e002637..324dfb0c45c91a6a2192042032e9d2e3a8b80bcf 100644 (file)
@@ -22,4 +22,4 @@ BuildPackages =
        linux-headers
 
 [Partitions]
-RootSize = 4G
+RootSize = 2G
diff --git a/testsuite/mkosi/mkosi.fedora b/testsuite/mkosi/mkosi.fedora
new file mode 100644 (file)
index 0000000..7be7dd9
--- /dev/null
@@ -0,0 +1,26 @@
+[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