From patchwork Wed Jan 3 22:29:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 10143587 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B80396063B for ; Wed, 3 Jan 2018 22:29:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A58AA29370 for ; Wed, 3 Jan 2018 22:29:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9753C29344; Wed, 3 Jan 2018 22:29:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 545CC29370 for ; Wed, 3 Jan 2018 22:29:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751078AbeACW3g (ORCPT ); Wed, 3 Jan 2018 17:29:36 -0500 Received: from mga06.intel.com ([134.134.136.31]:63082 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbeACW3f (ORCPT ); Wed, 3 Jan 2018 17:29:35 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2018 14:29:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,504,1508828400"; d="scan'208";a="192170649" Received: from ldmartin-desk.jf.intel.com ([10.24.10.79]) by fmsmga006.fm.intel.com with ESMTP; 03 Jan 2018 14:29:33 -0800 From: Lucas De Marchi To: linux-modules@vger.kernel.org Cc: Yauheni Kaliuta Subject: [PATCH 4/6] testsuite: add Fedora's mkosi configuration Date: Wed, 3 Jan 2018 14:29:22 -0800 Message-Id: <20180103222924.26347-5-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180103222924.26347-1-lucas.demarchi@intel.com> References: <20180103222924.26347-1-lucas.demarchi@intel.com> Sender: owner-linux-modules@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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 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