All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/nfs-utils: enable nfsv4/nfsv4.1 support
Date: Tue, 13 Jul 2021 23:50:58 +0200	[thread overview]
Message-ID: <YO4KwsYMZ3FAW4Mo@pevik> (raw)
In-Reply-To: <EA3390AF-4FB4-4048-9156-0874FAF2A787@benettiengineering.com>

Hi Giulio, all,

[Cc Thomas, Peter ]

> > Il giorno 13 lug 2021, alle ore 10:19, James Hilliard <james.hilliard1@gmail.com> ha scritto:

> > ?On Tue, Jul 13, 2021 at 2:03 AM Giulio Benetti
> > <giulio.benetti@benettiengineering.com> wrote:

> >> Hello James,

> >>>> Il giorno 13 lug 2021, alle ore 05:14, James Hilliard <james.hilliard1@gmail.com> ha scritto:

> >>> ?Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> >>> ---
> >>> package/nfs-utils/Config.in    | 10 ++++++++++
> >>> package/nfs-utils/nfs-utils.mk |  9 +++++++--
> >>> 2 files changed, 17 insertions(+), 2 deletions(-)

> >>> diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
> >>> index da563db0f1..b736f6c973 100644
> >>> --- a/package/nfs-utils/Config.in
> >>> +++ b/package/nfs-utils/Config.in
> >>> @@ -14,6 +14,16 @@ config BR2_PACKAGE_NFS_UTILS

> >>> if BR2_PACKAGE_NFS_UTILS

> >>> +config BR2_PACKAGE_NFS_UTILS_NFSV4
> >>> +    bool "NFSv4/NFSv4.1"
> >>> +    depends on !BR2_STATIC_LIBS # keyutils, lvm2
> >>> +    select BR2_PACKAGE_KEYUTILS
> >>> +    select BR2_PACKAGE_LIBEVENT
> >>> +    select BR2_PACKAGE_LVM2
> >>> +    select BR2_PACKAGE_SQLITE
> >>> +    help
> >>> +      Enable NFSv4/NFSv4.1 support
> >>> +
> >>> config BR2_PACKAGE_NFS_UTILS_RPCDEBUG
> >>>   bool "rpcdebug"
> >>>   help
> >>> diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
> >>> index c384e939d8..2598f0908b 100644
> >>> --- a/package/nfs-utils/nfs-utils.mk
> >>> +++ b/package/nfs-utils/nfs-utils.mk
> >>> @@ -16,8 +16,6 @@ NFS_UTILS_AUTORECONF = YES
> >>> NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no

> >>> NFS_UTILS_CONF_OPTS = \
> >>> -    --disable-nfsv4 \
> >>> -    --disable-nfsv41 \

> >> Is this ^^^ what prevents uuid.h build error?

> > No idea, have some background on that issue?

> Yes, I had that issue on this commit:

> http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=blobdiff;f=support/export/v4root.c;h=c12a7d8562b22616fbc7840faf6719443dac64d3;hp=3654bd7c10c059d6a6ae32001ca979d671ef38f2;hb=c5528f40f9db5061e06dcf1f9b7fce5185b376c6;hpb=ed83085ff310fdc95badb06a26289efb70f99ccd

> But it seems that ?disable-nfsv4 avoid building it,
> so we should have no problem.

Can you be more specific how c5528f40 ("Fix NFSv4 export of tmpfs filesystems")
affects Buildroot? Is it a problem with -luuid

Anyway, we disabled nfsv4/nfsv4.1 from the start, I wonder why.
@Thomas, @Peter: do you remember it?

But generally good idea, thus:
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>

> Can you double check building with nfsv4 support and find it failing wi uuid.h? I don?t have time at the moment.

I'll try to test it this week.

Kind regards,
Petr

> Thanks a lot

> Giulio

  reply	other threads:[~2021-07-13 21:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  3:14 [Buildroot] [PATCH 1/1] package/nfs-utils: enable nfsv4/nfsv4.1 support James Hilliard
2021-07-13  8:03 ` Giulio Benetti
2021-07-13  8:18   ` James Hilliard
2021-07-13  9:27     ` Giulio Benetti
2021-07-13  9:27       ` Giulio Benetti
2021-07-13 21:50       ` Petr Vorel [this message]
2021-07-15  1:37         ` Giulio Benetti
2021-07-15  1:37           ` Giulio Benetti
2021-07-15  1:42           ` Giulio Benetti
2021-07-15  1:42             ` Giulio Benetti
2021-07-15  2:13             ` James Hilliard
2021-07-15  9:54               ` Giulio Benetti
2021-07-14 23:19       ` James Hilliard
2021-07-15  1:40         ` Giulio Benetti
2021-07-15  1:40           ` Giulio Benetti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YO4KwsYMZ3FAW4Mo@pevik \
    --to=petr.vorel@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.