diff --git a/network/share/nfs-utils/actions.py b/network/share/nfs-utils/actions.py index 1ae256c674..0d85d69035 100644 --- a/network/share/nfs-utils/actions.py +++ b/network/share/nfs-utils/actions.py @@ -13,6 +13,9 @@ shelltools.export("CFLAGS","%s -fpie -D_FILE_OFFSET_BITS=64" % get.CFLAGS()) shelltools.export("LDFLAGS","%s -pie" % get.LDFLAGS()) def setup(): + shelltools.system("sed -i 's|/usr/lib/udev/rules.d/|/lib/udev/rules.d/|g' tools/nfsrahead/Makefile.in") + shelltools.system("sed -i 's|/usr/lib/udev/rules.d/|/lib/udev/rules.d/|g' tools/nfsrahead/Makefile.am") + autotools.autoreconf("-vfi") autotools.configure("--enable-mountconfig \ --enable-ipv6 \ @@ -20,7 +23,7 @@ def setup(): --enable-nfsv4 \ --enable-gss \ --with-krb5=/usr \ - --libexecdir=/usr/lib \ + --with-modprobedir=/etc/modprobe.d \ --with-statedir=/var/lib/nfs") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") diff --git a/network/share/nfs-utils/pspec.xml b/network/share/nfs-utils/pspec.xml index 8f3cdb35c3..0cc4629fa7 100644 --- a/network/share/nfs-utils/pspec.xml +++ b/network/share/nfs-utils/pspec.xml @@ -28,6 +28,8 @@ libutil-linux-devel + + @@ -52,15 +54,15 @@ /etc/exports + /etc/modprobe.d/50-nfs.conf /etc/gssapi_mech.conf /etc/nfsmount.conf /etc/conf.d/nfs - /usr/lib/modprobe.d/50-nfs.conf - /usr/lib/nfsrahead - /usr/lib/udev/rules.d/99-nfs.rules /usr/sbin /sbin + /usr/libexec/nfsrahead /var/lib + /lib/udev/rules.d /usr/share/man /usr/share/doc