grub2-signing-extension/Makefile

20 lines
559 B
Makefile
Raw Normal View History

2015-03-16 19:38:36 +00:00
# Makefile for grub2-sign-extension
2018-05-24 09:29:09 +00:00
# Author: Bandie
2015-03-16 19:38:36 +00:00
# Licence: GNU-GPLv3
all:
@printf "Nothing to make. Run make install.\n"
install:
cp ./sbin/grub2-verify /usr/sbin/
cp ./sbin/grub2-sign /usr/sbin/
cp ./sbin/grub2-unsign /usr/sbin/
cp ./sbin/grub2-update-kernel-signature /usr/sbin/
2018-01-21 12:54:22 +00:00
chown root:root /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
chmod 744 /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
2015-03-16 19:38:36 +00:00
@printf "Done.\n"
uninstall:
rm /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
2015-03-16 19:38:36 +00:00
@printf "Done.\n"