]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: do not fail build with newer kernel headers
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 7 Apr 2024 08:39:20 +0000 (10:39 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 12 Apr 2024 10:44:58 +0000 (11:44 +0100)
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.)

src/basic/meson.build

index 1516a9f7af3e4cd7d6155094aef2a380d4d860e2..386d9ab6c9c50b960e685f0fbf2c7908f5925187 100644 (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(