Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kpatch-build: suppress make directory info for
make kernelversion
When invoking kpatch-build through integration testing, like: $ make PATCH_DIR="linux-6.9.0" \ KPATCH_BUILD_OPTS="--sourcedir /root/linux" \ integration-slow results in an error as kpatch-build's `make kernelversion` adds directory information to its output: make[2]: Entering directory '/root/linux' 6.9.0 make[2]: Leaving directory '/root/linux' This screws up kpatch-build's assignment of the make output to LOCALVERSION, which was expecting only "6.9.0". Add --no-print-directory to the make invocation to avoid the undesired entering / leaving directory info. Fixes: 629b5ac ("kpatch-build: Fix setlocalversion issue with 6.3 kernel") Signed-off-by: Joe Lawrence <[email protected]>
- Loading branch information