summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorRicardo B. Marlière <rbm@suse.com>2026-06-02 16:03:00 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-06-06 00:20:58 +0300
commit3ca6543464f8f396eee018399b5e266196b0a9a7 (patch)
treee43740b986b92b289c5c2eec2d847b3b4530b0a3 /include/uapi/linux
parentb85e63cb65f96df373b034cc347b0e18231cb0d5 (diff)
downloadlinux-3ca6543464f8f396eee018399b5e266196b0a9a7.tar.xz
selftests/bpf: Tolerate missing files during install
With partial builds, some TEST_GEN_FILES entries can be absent at install time. rsync treats missing source arguments as fatal and aborts kselftest installation. Override INSTALL_SINGLE_RULE in selftests/bpf to use --ignore-missing-args, while keeping the existing bpf-specific INSTALL_RULE extension logic. Also add --ignore-missing-args to the TEST_INST_SUBDIRS rsync loop so that subdirectories with no .bpf.o files (e.g. when a test runner flavor was skipped) do not abort installation. Note that the INSTALL_SINGLE_RULE override applies globally to all file categories including static source files (TEST_PROGS, TEST_FILES). These are version-controlled and should always be present, so the practical risk is negligible. Signed-off-by: Ricardo B. Marlière <rbm@suse.com> Link: https://lore.kernel.org/r/20260602-selftests-bpf_misconfig-v12-11-27f898b3ba26@suse.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions