aboutgitcode
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-04-06 15:39:04 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-04-06 15:39:04 +0200
commit4aa5ae07f8ff5cdaa1067a4a6d61345574dad420 (patch)
treef6a6287cdb852d5abdb37d868d03317e0ee60784
parent9bb4a41d19f9ddc44208849ce6f84fe79fa220a7 (diff)
downloadmbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.tar
mbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.tar.gz
mbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.tar.bz2
mbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.tar.lz
mbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.tar.xz
mbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.tar.zst
mbuto-4aa5ae07f8ff5cdaa1067a4a6d61345574dad420.zip
mbuto: Make sure kselftests are "installed" before building image
We need to make sure test programs are built and everything is included in tools/testing/selftests/kselftest_install before we can include that in the guest image. Reported-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xmbuto3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbuto b/mbuto
index 6b1fb96..2a55d1f 100755
--- a/mbuto
+++ b/mbuto
@@ -204,6 +204,9 @@ profile_kselftests() {
fi
KERNEL="$(cat include/config/kernel.release)"
+
+ ${MAKE} -C tools/testing/selftests/ install
+
MODDIR="$(${REALPATH} .mbuto_mods)"
${RM} -rf "${MODDIR}"
${MKDIR} -p "${MODDIR}"