From 9863e7ecde8bff1765f74ef74330b59110d8ddfa Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 07 May 2014 20:50:46 -0400 Subject: linux-libre: Disable CONFIG_NETWORK_FILESYSTEMS. Some NFS-related options transitively select CONFIG_OID_REGISTRY, which causes Kbuild to try to run lib/build_OID_registry to generate lib/oid_registry_data.c. lib/build_OID_registry is a Perl script, so this fails. [...] GEN lib/oid_registry_data.c /bin/sh: perl: not found make[2]: *** [lib/oid_registry_data.c] Error 127 make[1]: *** [lib] Error 2 make[1]: Leaving directory `/usr/src/linux-libre_3.10.38~gnu-2/tmp/src' make: *** [build] Error 2 We could someday rewrite lib/build_OID_registry as a shell script, but for now we'll just disable NFS stuff entirely. --- diff --git a/src/linux-libre/3.10.38~gnu/config b/src/linux-libre/3.10.38~gnu/config index 9a86e7e..2d6fa4b 100644 --- a/src/linux-libre/3.10.38~gnu/config +++ b/src/linux-libre/3.10.38~gnu/config @@ -3316,39 +3316,7 @@ CONFIG_PSTORE_RAM=y # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # CONFIG_F2FS_FS is not set -CONFIG_NETWORK_FILESYSTEMS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V2=y -CONFIG_NFS_V3=y -CONFIG_NFS_V3_ACL=y -CONFIG_NFS_V4=y -# CONFIG_NFS_SWAP is not set -CONFIG_NFS_V4_1=y -CONFIG_PNFS_FILE_LAYOUT=y -CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" -CONFIG_NFS_FSCACHE=y -# CONFIG_NFS_USE_LEGACY_DNS is not set -CONFIG_NFS_USE_KERNEL_DNS=y -CONFIG_NFSD=y -CONFIG_NFSD_V2_ACL=y -CONFIG_NFSD_V3=y -CONFIG_NFSD_V3_ACL=y -CONFIG_NFSD_V4=y -CONFIG_LOCKD=y -CONFIG_LOCKD_V4=y -CONFIG_NFS_ACL_SUPPORT=y -CONFIG_NFS_COMMON=y -CONFIG_SUNRPC=y -CONFIG_SUNRPC_GSS=y -CONFIG_SUNRPC_BACKCHANNEL=y -CONFIG_RPCSEC_GSS_KRB5=y -# CONFIG_SUNRPC_DEBUG is not set -# CONFIG_CEPH_FS is not set -# CONFIG_CIFS is not set -# CONFIG_NCP_FS is not set -# CONFIG_CODA_FS is not set -# CONFIG_AFS_FS is not set -# CONFIG_9P_FS is not set +# CONFIG_NETWORK_FILESYSTEMS is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="utf8" CONFIG_NLS_CODEPAGE_437=y @@ -3683,4 +3651,3 @@ CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y CONFIG_AVERAGE=y # CONFIG_CORDIC is not set # CONFIG_DDR is not set -CONFIG_OID_REGISTRY=y -- cgit v0.9.1