package/nfs-utils: fix nfs-utils_env.sh path
authorJames Hilliard <james.hilliard1@gmail.com>
Thu, 3 Oct 2019 14:04:10 +0000 (08:04 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Oct 2019 21:34:59 +0000 (23:34 +0200)
Per upstream commit bf12e1fa9f48e8ee91a2869e69484c70595b5160
https://cdn.kernel.org/pub/linux/utils/nfs-utils/1.3.4/1.3.4-Changelog

Currently nfs-utils_env.sh is installed in a
directory that is own by systemd. They requested
via https://bugzilla.redhat.com/show_bug.cgi?id=1303113
to move the script into /usr/libexec/nfs-utils

As such we must update the installation path for nfs-utils_env.sh.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nfs-utils/nfs-utils.mk

index 9d3e5e7563347212747e8d86258e1f7ba3530850..cb2caa03f0b4187113d640a8a2485a5471c3b97e 100644 (file)
@@ -93,7 +93,7 @@ define NFS_UTILS_INSTALL_INIT_SYSTEMD
                $(TARGET_DIR)/etc/systemd/system/remote-fs.target.wants/nfs-client.target
 
        $(INSTALL) -D -m 0755 package/nfs-utils/nfs-utils_env.sh \
-               $(TARGET_DIR)/usr/lib/systemd/scripts/nfs-utils_env.sh
+               $(TARGET_DIR)/usr/libexec/nfs-utils/nfs-utils_env.sh
 
        $(INSTALL) -D -m 0644 package/nfs-utils/nfs-utils_tmpfiles.conf \
                $(TARGET_DIR)/usr/lib/tmpfiles.d/nfs-utils.conf