3 # Copyright 2010-2014 Joachim Wiedorn
5 # Licensed under the terms of the GPL-2 or any later version.
6 # On Debian systems, the complete text of the GNU General Public License
7 # version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
11 POSTINST := kernel/postinst.d
12 PREINST := kernel/preinst.d
13 PRERM := kernel/prerm.d
18 @echo Install kernel hook scripts
19 mkdir -p $(BASE)/$(POSTINST)
20 mkdir -p $(BASE)/$(PREINST)
21 mkdir -p $(BASE)/$(PRERM)
22 install -m 0755 $(POSTINST)/chattr-lilo $(BASE)/$(POSTINST)
23 install -m 0755 $(PREINST)/chattr-lilo $(BASE)/$(PREINST)
24 install -m 0755 $(PRERM)/chattr-lilo $(BASE)/$(PRERM)
27 @echo Uninstall kernel hook scripts
28 rm $(BASE)/$(POSTINST)/chattr-lilo
29 rm $(BASE)/$(PREINST)/chattr-lilo
30 rm $(BASE)/$(PRERM)/chattr-lilo