summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2018-10-10 13:47:50 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2018-10-10 13:47:50 -0700
commit8353284d83b4c0fd0389601fbfba5cd2863a661d (patch)
treea16c82a40c8ec861ba255a997dcbd923ca7441af
parent94aad8787fb26ee4da25f0521fccddf5dae8382b (diff)
downloadkmod-8353284d83b4c0fd0389601fbfba5cd2863a661d.tar.gz
kmod-8353284d83b4c0fd0389601fbfba5cd2863a661d.tar.bz2
kmod-8353284d83b4c0fd0389601fbfba5cd2863a661d.zip
mkosi: allow Clear to use test modules
Now Clear has a bundle for the kernel headers, let's use it.
-rwxr-xr-xtestsuite/mkosi/mkosi.build9
-rw-r--r--testsuite/mkosi/mkosi.clear1
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