Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/fuse-overlayfs: needs headers >= 3.15
@ 2020-07-13 14:41 Fabrice Fontaine
  2020-07-13 17:10 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-07-13 14:41 UTC (permalink / raw)
  To: buildroot

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>
---
 package/fuse-overlayfs/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/fuse-overlayfs/Config.in b/package/fuse-overlayfs/Config.in
index a13cdd9e93..30a3372cbd 100644
--- a/package/fuse-overlayfs/Config.in
+++ b/package/fuse-overlayfs/Config.in
@@ -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
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/fuse-overlayfs: needs headers >= 3.15
  2020-07-13 14:41 [Buildroot] [PATCH 1/1] package/fuse-overlayfs: needs headers >= 3.15 Fabrice Fontaine
@ 2020-07-13 17:10 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-07-13 17:10 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2020-07-13 16:41 +0200, Fabrice Fontaine spake thusly:
> 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>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/fuse-overlayfs/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/fuse-overlayfs/Config.in b/package/fuse-overlayfs/Config.in
> index a13cdd9e93..30a3372cbd 100644
> --- a/package/fuse-overlayfs/Config.in
> +++ b/package/fuse-overlayfs/Config.in
> @@ -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
> -- 
> 2.27.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-13 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-13 14:41 [Buildroot] [PATCH 1/1] package/fuse-overlayfs: needs headers >= 3.15 Fabrice Fontaine
2020-07-13 17:10 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox