diff mbox series

[v1,2/3] package/fuse-overlayfs: enable building as host package

Message ID 20210503023305.161122-2-christian@paral.in
State Changes Requested
Headers show
Series [v1,1/3] package/libfuse3: allow building as a host package | expand

Commit Message

Christian Stewart May 3, 2021, 2:33 a.m. UTC
Signed-off-by: Christian Stewart <christian@paral.in>
---
 package/Config.in.host                   | 1 +
 package/fuse-overlayfs/Config.in.host    | 7 +++++++
 package/fuse-overlayfs/fuse-overlayfs.mk | 4 ++++
 3 files changed, 12 insertions(+)
 create mode 100644 package/fuse-overlayfs/Config.in.host

Comments

Yann E. MORIN May 4, 2021, 8:20 p.m. UTC | #1
Christian, All,

On 2021-05-02 19:33 -0700, Christian Stewart spake thusly:
> Signed-off-by: Christian Stewart <christian@paral.in>
> ---
>  package/Config.in.host                   | 1 +
>  package/fuse-overlayfs/Config.in.host    | 7 +++++++
>  package/fuse-overlayfs/fuse-overlayfs.mk | 4 ++++
>  3 files changed, 12 insertions(+)
>  create mode 100644 package/fuse-overlayfs/Config.in.host
> 
> diff --git a/package/Config.in.host b/package/Config.in.host
> index ba6a68c728..0dbf63f2c8 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -27,6 +27,7 @@ menu "Host utilities"
>  	source "package/f2fs-tools/Config.in.host"
>  	source "package/faketime/Config.in.host"
>  	source "package/fatcat/Config.in.host"
> +	source "package/fuse-overlayfs/Config.in.host"
>  	source "package/fwup/Config.in.host"
>  	source "package/genext2fs/Config.in.host"
>  	source "package/genimage/Config.in.host"
> diff --git a/package/fuse-overlayfs/Config.in.host b/package/fuse-overlayfs/Config.in.host
> new file mode 100644
> index 0000000000..cf459a4a2a
> --- /dev/null
> +++ b/package/fuse-overlayfs/Config.in.host
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_HOST_FUSE_OVERLAYFS
> +	bool "host fuse-overlayfs"
> +	help
> +	  FUSE-overlayfs is an implementation of overlay+shiftfs in
> +	  FUSE, intended to be used for rootless containers.
> +
> +	  http://github.com/containers/fuse-overlayfs
> \ No newline at end of file

Be carefull that your editor properly terminates files with a \n

Vim is a good editor that generates properly formatted text files! ;-]

Regards,
Yann E. MORIN.

> diff --git a/package/fuse-overlayfs/fuse-overlayfs.mk b/package/fuse-overlayfs/fuse-overlayfs.mk
> index 707cacce03..36cbfc91fd 100644
> --- a/package/fuse-overlayfs/fuse-overlayfs.mk
> +++ b/package/fuse-overlayfs/fuse-overlayfs.mk
> @@ -12,4 +12,8 @@ FUSE_OVERLAYFS_LICENSE_FILES = COPYING
>  FUSE_OVERLAYFS_AUTORECONF = YES
>  FUSE_OVERLAYFS_DEPENDENCIES = libfuse3 host-pkgconf
>  
> +HOST_FUSE_OVERLAYFS_AUTORECONF = YES
> +HOST_FUSE_OVERLAYFS_DEPENDENCIES = host-libfuse3 host-pkgconf
> +
>  $(eval $(autotools-package))
> +$(eval $(host-autotools-package))
> -- 
> 2.31.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Christian Stewart May 4, 2021, 8:25 p.m. UTC | #2
Hi Yann,

On Tue, May 4, 2021 at 1:21 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Be carefull that your editor properly terminates files with a \n
>
> Vim is a good editor that generates properly formatted text files! ;-]
>
> Regards,
> Yann E. MORIN.

I regret to inform you that I switched over to emacs somewhere around 2016.

... but using vim bindings with "evil" mode and spacemacs and
Buildroot/Gentoo + exwm :)

Best regards,
Christian
diff mbox series

Patch

diff --git a/package/Config.in.host b/package/Config.in.host
index ba6a68c728..0dbf63f2c8 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -27,6 +27,7 @@  menu "Host utilities"
 	source "package/f2fs-tools/Config.in.host"
 	source "package/faketime/Config.in.host"
 	source "package/fatcat/Config.in.host"
+	source "package/fuse-overlayfs/Config.in.host"
 	source "package/fwup/Config.in.host"
 	source "package/genext2fs/Config.in.host"
 	source "package/genimage/Config.in.host"
diff --git a/package/fuse-overlayfs/Config.in.host b/package/fuse-overlayfs/Config.in.host
new file mode 100644
index 0000000000..cf459a4a2a
--- /dev/null
+++ b/package/fuse-overlayfs/Config.in.host
@@ -0,0 +1,7 @@ 
+config BR2_PACKAGE_HOST_FUSE_OVERLAYFS
+	bool "host fuse-overlayfs"
+	help
+	  FUSE-overlayfs is an implementation of overlay+shiftfs in
+	  FUSE, intended to be used for rootless containers.
+
+	  http://github.com/containers/fuse-overlayfs
\ No newline at end of file
diff --git a/package/fuse-overlayfs/fuse-overlayfs.mk b/package/fuse-overlayfs/fuse-overlayfs.mk
index 707cacce03..36cbfc91fd 100644
--- a/package/fuse-overlayfs/fuse-overlayfs.mk
+++ b/package/fuse-overlayfs/fuse-overlayfs.mk
@@ -12,4 +12,8 @@  FUSE_OVERLAYFS_LICENSE_FILES = COPYING
 FUSE_OVERLAYFS_AUTORECONF = YES
 FUSE_OVERLAYFS_DEPENDENCIES = libfuse3 host-pkgconf
 
+HOST_FUSE_OVERLAYFS_AUTORECONF = YES
+HOST_FUSE_OVERLAYFS_DEPENDENCIES = host-libfuse3 host-pkgconf
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))