kpatch/contrib/Makefile
Josh Poimboeuf eb1bd13278 kpatch: install to initrd and load patch modules on boot
When doing "kpatch install", copy the patch modules to the initrd and
install a dracut hook which calls "kpatch apply --all".
2014-04-01 15:47:22 -05:00

15 lines
219 B
Makefile

include ../Makefile.inc
DRACUTDIR=/usr/lib/dracut/modules.d/99kpatch
all:
install: all
$(INSTALL) -d $(DRACUTDIR)
$(INSTALL) module-setup.sh kpatch-apply-all.sh $(DRACUTDIR)
uninstall:
$(RM) $(DRACUTDIR)
clean: