[4/6] testsuite: add Fedora's mkosi configuration
diff mbox

Message ID 20180103222924.26347-5-lucas.demarchi@intel.com
State New
Headers show

Commit Message

Lucas De Marchi Jan. 3, 2018, 10:29 p.m. UTC
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   |  2 +-
 testsuite/mkosi/mkosi.fedora | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 testsuite/mkosi/mkosi.fedora

Patch
diff mbox

diff --git a/testsuite/mkosi/mkosi.arch b/testsuite/mkosi/mkosi.arch
index 5ac0a45..324dfb0 100644
--- a/testsuite/mkosi/mkosi.arch
+++ b/testsuite/mkosi/mkosi.arch
@@ -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
index 0000000..7be7dd9
--- /dev/null
+++ b/testsuite/mkosi/mkosi.fedora
@@ -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