From: Lucas De Marchi <lucas.demarchi@intel.com>
To: linux-modules@vger.kernel.org
Cc: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Subject: [PATCH] mkosi: allow Clear to use test modules
Date: Wed, 10 Oct 2018 13:50:16 -0700 [thread overview]
Message-ID: <20181010205016.3462-1-lucas.demarchi@intel.com> (raw)
Now Clear has a bundle for the kernel headers, let's use it.
---
testsuite/mkosi/mkosi.build | 9 ++-------
testsuite/mkosi/mkosi.clear | 1 +
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/testsuite/mkosi/mkosi.build b/testsuite/mkosi/mkosi.build
index 8ed54bb..53fc797 100755
--- a/testsuite/mkosi/mkosi.build
+++ b/testsuite/mkosi/mkosi.build
@@ -29,13 +29,8 @@ rm -rf build
mkdir build
cd build
-if grep clear-linux-os /usr/lib/os-release; then
- # Clear Linux doesn't have the dependencies for those yet.
- echo "--disable-test-modules" > ../../.config.args
-else
- kdir=$(find_kdir)
- IFS=/ read _ _ _ kver _ <<<"$kdir"
-fi
+kdir=$(find_kdir)
+IFS=/ read _ _ _ kver _ <<<"$kdir"
../autogen.sh c
make -j
diff --git a/testsuite/mkosi/mkosi.clear b/testsuite/mkosi/mkosi.clear
index 6d87514..03ba2f0 100644
--- a/testsuite/mkosi/mkosi.clear
+++ b/testsuite/mkosi/mkosi.clear
@@ -10,6 +10,7 @@ Packages=
os-core-update
BuildPackages=
os-core-dev
+ linux-dev
[Partitions]
RootSize = 5G
--
2.19.1.1.g8c3cf03f71
next reply other threads:[~2018-10-10 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 20:50 Lucas De Marchi [this message]
2018-10-10 21:50 ` [PATCH] mkosi: allow Clear to use test modules Caio Marcelo de Oliveira Filho
2018-10-10 21:58 ` Lucas De Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181010205016.3462-1-lucas.demarchi@intel.com \
--to=lucas.demarchi@intel.com \
--cc=caio.oliveira@intel.com \
--cc=linux-modules@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox