package/fuse-overlayfs: needs headers >= 3.15
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 13 Jul 2020 14:41:59 +0000 (16:41 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 13 Jul 2020 17:08:47 +0000 (19:08 +0200)
fuse-overlayfs unconditionally uses SYS_renameat2 since version 0.2 and
https://github.com/containers/fuse-overlayfs/commit/616119093a5d37bf201a7b7970eeb5f7ba32de22
which is not available until kernel 3.15 and
https://github.com/torvalds/linux/commit/5fb6b953bb7aa86a9c8ea760934982cedc45c52b

Fixes:
 - http://autobuild.buildroot.org/results/3c97e25c69ab949e51f04b5d0134bc4b4059982d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/fuse-overlayfs/Config.in

index a13cdd9e939f259402e7ded62a7fa53d78793e0c..30a3372cbda90b8b3b15dfa657e0ec7082946d5c 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_FUSE_OVERLAYFS
        depends on BR2_USE_MMU # libfuse3
        depends on !BR2_STATIC_LIBS # libfuse3
        depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse3
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
        select BR2_PACKAGE_LIBFUSE3
        help
          FUSE-overlayfs is an implementation of overlay+shiftfs in
@@ -10,6 +11,7 @@ config BR2_PACKAGE_FUSE_OVERLAYFS
 
          http://github.com/containers/fuse-overlayfs
 
-comment "fuse-overlayfs needs a toolchain w/ threads, dynamic library"
+comment "fuse-overlayfs needs a toolchain w/ threads, dynamic library, headers >= 3.15"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15