File 0030-systemd-use-correct-modprobe-d-directory of Package nfs-utils.29378

Early SLE15 doesn't support /usr/lib/modprobe.d, only 
/etc/modprobe.d and /lib/modprobe.d
So use /etc/modprobe.d.

Signed-off-by: NeilBrown <neilb@suse.com>

---
 systemd/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/systemd/Makefile.am
+++ b/systemd/Makefile.am
@@ -58,5 +58,5 @@ install-data-hook: $(unit_files) $(modpr
 else
 install-data-hook: $(modprobe_files)
 endif
-	mkdir -p $(DESTDIR)/usr/lib/modprobe.d
-	cp $(modprobe_files) $(DESTDIR)/usr/lib/modprobe.d/
+	mkdir -p $(DESTDIR)/etc/modprobe.d
+	cp $(modprobe_files) $(DESTDIR)/etc/modprobe.d/
openSUSE Build Service is sponsored by