Re: [PATCH] selftests: lib.mk: Don't fail install if no modules were built
From: Shuah Khan
Date: Wed Oct 14 2026 - 12:36:42 EST
On 10/14/26 07:03, Mark Brown wrote:
The install rule for TEST_GEN_MODS_DIR copies *.ko from the directory
with rsync which fails if there are no modules, for example because the
directory's Makefile skipped building them. Only run rsync if there is
something to install. This currently affects the livepatch suite but it
seems sensible to fix here for added robstness.
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
Thanks. I picked this up for 7.4-rc1
thanks,
-- Shuah