From ea945f6121b26051848620a9e04c1be5d0647be7 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Mon, 14 Apr 2014 12:39:19 -0500 Subject: [PATCH] fix DRACUTDIR to be in /usr/lib/dracut Unforunately the dracut module doesn't work if installed in /usr/local/lib/dracut. It must always be installed in /usr/lib/dracut regardless of the install prefix. --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index 930c8fc..8194aaf 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -10,7 +10,7 @@ MODULESDIR = $(DESTDIR)$(PREFIX)/lib/modules LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1 -DRACUTDIR = $(DESTDIR)$(PREFIX)/lib/dracut/modules.d/99kpatch +DRACUTDIR = $(DESTDIR)/usr/lib/dracut/modules.d/99kpatch .PHONY: all install clean .DEFAULT: all