]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
docs: set KVERSION for running test suite
authorBenjamin Drung <benjamin.drung@canonical.com>
Sat, 19 Aug 2023 14:34:52 +0000 (16:34 +0200)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Thu, 24 Aug 2023 10:17:47 +0000 (12:17 +0200)
Running the test suite in podman will most likely require setting
`KVERSION` because the running Linux kernel version will most likely be
different to the kernel version in the container.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
docs/HACKING.md

index 579d81d6afe63ac42a2abd021aa6392dc6571577..6a19434c7b99ce25aaa0cb2a32c863ec7d52aca0 100644 (file)
@@ -240,7 +240,7 @@ $ podman run --rm -it \
 # ./configure
 # make -j $(getconf _NPROCESSORS_ONLN)
 # cd test
-# make V=1 SKIP="16 60 61" clean check
+# make KVERSION="$(cd /lib/modules && ls -1 | tail -1)" V=1 SKIP="16 60 61" clean check
 ```
 
 with `[CONTAINER]` being one of the