meson: do not fail build with newer kernel headers

systemd-255 is failing a build with the latest kernel headers… Let's downgrade
this warning, because it's fine if there's a file system we don't know about
and it makes thing less brittle if we don't treat this as a hard error.

(I initially conditionalized this on BUILD_MODE, but I don't think we need a
hard error there either. A warning will be noticed and fixed.)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-04-07 10:39:20 +02:00 committed by Luca Boccassi
parent 296afa8477
commit c71b50179e

View file

@ -240,7 +240,7 @@ filesystem_includes = ['linux/magic.h',
check_filesystems = find_program('check-filesystems.sh')
r = run_command([check_filesystems, cpp, files('filesystems-gperf.gperf')] + filesystem_includes, check: false)
if r.returncode() != 0
error('Unknown filesystems defined in kernel headers:\n\n' + r.stdout())
warning('Unknown filesystems defined in kernel headers:\n\n' + r.stdout())
endif
filesystems_gperf_h = custom_target(