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"
|
||||
|
||||
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}
|
||||
install -D -m744 sbin/grub2-verify /usr/sbin/grub2-verify
|
||||
install -D -m744 sbin/grub2-sign /usr/sbin/grub2-sign
|
||||
install -D -m744 sbin/grub2-unsign /usr/sbin/grub2-unsign
|
||||
install -D -m744 sbin/grub2-update-kernel-signature /usr/sbin/grub2-update-kernel-signature
|
||||
@printf "Done.\n"
|
||||
|
||||
uninstall:
|
||||
|
Loading…
Reference in New Issue
Block a user