mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Using install instead of cp
This commit is contained in:
parent
2098b77656
commit
9299f5b00d
10
Makefile
10
Makefile
@ -6,12 +6,10 @@ all:
|
|||||||
@printf "Nothing to make. Run make install.\n"
|
@printf "Nothing to make. Run make install.\n"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp ./sbin/grub2-verify /usr/sbin/
|
install -D -m744 sbin/grub2-verify /usr/sbin/grub2-verify
|
||||||
cp ./sbin/grub2-sign /usr/sbin/
|
install -D -m744 sbin/grub2-sign /usr/sbin/grub2-sign
|
||||||
cp ./sbin/grub2-unsign /usr/sbin/
|
install -D -m744 sbin/grub2-unsign /usr/sbin/grub2-unsign
|
||||||
cp ./sbin/grub2-update-kernel-signature /usr/sbin/
|
install -D -m744 sbin/grub2-update-kernel-signature /usr/sbin/grub2-update-kernel-signature
|
||||||
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"
|
@printf "Done.\n"
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
Loading…
Reference in New Issue
Block a user