grub2-signing-extension/Makefile
2018-01-21 13:54:22 +01:00

20 lines
577 B
Makefile

# Makefile for grub2-sign-extension
# Author: Bandie Kojote (MeikoDis)
# 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/
chown root:root /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
chmod 744 /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
@printf "Done.\n"
uninstall:
rm /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
@printf "Done.\n"