Re: [PATCH] busybox: Enable FEATURE_MOUNT_NFS and use libtirpc
Andre McCurdy
On Thu, May 10, 2018 at 12:26 PM, Khem Raj <raj.khem@...> wrote:
required for kernel versions before 2.6.23. Do we officially support
kernels that old in oe-core? Or should this be in a .bbappend etc in
separate layer?
//config:config FEATURE_MOUNT_NFS
//config: bool "Support mounting NFS file systems on Linux < 2.6.23"
//config: default n
//config: depends on MOUNT
//config: select FEATURE_SYSLOG
//config: help
//config: Enable mounting of NFS file systems on Linux kernels prior
//config: to version 2.6.23. Note that in this case mounting of NFS
//config: over IPv6 will not be possible.
//config:
//config: Note that this option links in RPC support from libc,
//config: which is rather large (~10 kbytes on uclibc).
On 5/10/18 12:16 PM, Martin Jansa wrote:According to the busybox config help, CONFIG_FEATURE_MOUNT_NFS is onlyI think keeping it as a nfsmount.cfg which then can be applied via aThat's true, I've enabled CONFIG_FEATURE_MOUNT_NFS mostly to show how to
On second thought, this probably should be enabled using a config
fragment, since its not gonna link in another library it may not be
common case to justify for a default config.
reproduce the issue.
If there isn't interest to enable this by default, I'm fine with keeping
this
locally (to enable it only with our defconfig changes which enable it).
bbappend could be a good option. May be adding a PACKAGECONFIG to control
the -I flag and libtirpc dependency would be nice too
required for kernel versions before 2.6.23. Do we officially support
kernels that old in oe-core? Or should this be in a .bbappend etc in
separate layer?
//config:config FEATURE_MOUNT_NFS
//config: bool "Support mounting NFS file systems on Linux < 2.6.23"
//config: default n
//config: depends on MOUNT
//config: select FEATURE_SYSLOG
//config: help
//config: Enable mounting of NFS file systems on Linux kernels prior
//config: to version 2.6.23. Note that in this case mounting of NFS
//config: over IPv6 will not be possible.
//config:
//config: Note that this option links in RPC support from libc,
//config: which is rather large (~10 kbytes on uclibc).