summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-06-17 12:23:21 -0700
committerBrian Behlendorf <[email protected]>2011-06-17 13:22:19 -0700
commit47a2455fbc10254ef38622b838d2dd8575709726 (patch)
tree3913d2d06bea9b9261b945bec10b0cdf9c7ebf75 /dracut
parentb9f27ee76582fa7826ca930889f8c281430c6b7a (diff)
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.
Diffstat (limited to 'dracut')
-rw-r--r--dracut/90zfs/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am
index cea78c5d2..e2e3ff8cb 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 \