From: Zbigniew Jędrzejewski-Szmek Date: Sun, 7 Apr 2024 08:39:20 +0000 (+0200) Subject: meson: do not fail build with newer kernel headers X-Git-Tag: v256-rc1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71b50179e24282a74a8d9faed82b01fb3aaeb6d;p=thirdparty%2Fsystemd.git 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.) --- diff --git a/src/basic/meson.build b/src/basic/meson.build index 1516a9f7af3..386d9ab6c9c 100644 --- a/src/basic/meson.build +++ b/src/basic/meson.build @@ -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(