Wind River Support Network

HomeDefectsLIN1021-6595
Fixed

LIN1021-6595 : nfs-utils enabling gss and svcgss

Created: Sep 29, 2023    Updated: Dec 26, 2023
Resolved Date: Nov 26, 2023
Found In Version: 10.21.20.19
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Userspace

Description

Enabling GSS and SVCGSS rpc binaries, build relies on Host OS Kerberos v5 development package.

Workaround

krb5 is copied to the package staging directory. For a Host OS that doesn't have krb5 devel, they are using the following workaround to solve the issue.

DEPENDS += " krb5 "
PACKAGECONFIG_append = " nfsv4 "
EXTRA_OECONF += " --enable-gss --enable-svcgss "
EXTRA_OECONF += " --with-krb5=${STAGING_DIR_HOST}/usr"
EXTRA_OEMAKE += " KRBLDFLAGS= "

do_configure_prepend () {
ln -sf crossscripts/krb5-config ${STAGING_BINDIR}
}

Steps to Reproduce

EXTRA_OECONF += " --enable-gss --enable-svcgss "
Live chat
Online