From 47a2455fbc10254ef38622b838d2dd8575709726 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 17 Jun 2011 12:23:21 -0700 Subject: [PATCH] Use datadir not datarootdir for dracut The zfs dracut modules should be installed under the --datadir not --datarootdir path. This was just an oversight in the original Makefile.am. After this change %{_datadir} can now be set safely in the zfs.spec file. The 'make install' location is now consistent with the location expected by the spec file. --- dracut/90zfs/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am index cea78c5..e2e3ff8 100644 --- a/dracut/90zfs/Makefile.am +++ b/dracut/90zfs/Makefile.am @@ -1,4 +1,4 @@ -pkgdracutdir = $(datarootdir)/dracut/modules.d/90zfs +pkgdracutdir = $(datadir)/dracut/modules.d/90zfs dist_pkgdracut_SCRIPTS = \ $(top_srcdir)/dracut/90zfs/90-zfs.rules \ $(top_srcdir)/dracut/90zfs/check \ -- 1.8.3.1