From: Brian Behlendorf Date: Fri, 17 Jun 2011 19:23:21 +0000 (-0700) Subject: Use datadir not datarootdir for dracut X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=47a2455fbc10254ef38622b838d2dd8575709726;p=zfs.git 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. --- 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 \