Skip to content

Commit

Permalink
Use datadir not datarootdir for dracut
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
behlendorf committed Jun 17, 2011
1 parent b9f27ee commit 47a2455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dracut/90zfs/Makefile.am
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 47a2455

Please sign in to comment.