Skip to content

Commit

Permalink
enable kernel testing on OpenSUSE
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Mueller <smueller@chronox.de>
  • Loading branch information
smuellerDD committed Sep 4, 2023
1 parent 499462f commit 9c7f5c0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/automation/libtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,12 @@ execvirt()
# Build and install fully configured kernel
if [ ! -d ${kernel_build} ]
then
mkdir -p ${kernel_build}
cwd=$(pwd)
cd ${kernel_build}
ln -s . usr
cd $cwd

make -j2
make modules_install install INSTALL_MOD_PATH=${kernel_build} INSTALL_PATH=${kernel_build}
depmod=1
Expand All @@ -314,10 +320,6 @@ execvirt()

if [ $depmod -ne 0 ]
then
cwd=$(pwd)
cd ${kernel_build}
ln -s . usr
cd $cwd
depmod -b ${kernel_build} $version
fi

Expand Down

0 comments on commit 9c7f5c0

Please sign in to comment.