Show an owner when grub is booting up
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
589 B

# Author: Bandie <bandie@chaospott.de>
# Copyright: Bandie, 2019, GNU-GPLv3
all:
@echo "Nothing to make. Please run \"make install\"."
@exit 0
install:
@echo "Installing grub-ownership..."
install -vDm 755 etc/grub.d/000_ownership -t "$(PREFIX)/etc/grub.d/"
@echo "Appending not existent config keys..."
./tools/grub_append_cfgkeys -i $(PREFIX)/etc/default/grub
@echo "DONE!"
uninstall:
@echo "Remove grub-ownership..."
rm $(PREFIX)/etc/grub.d/000_ownership
@echo "Removing entries from config file..."
./tools/grub_append_cfgkeys -r $(PREFIX)/etc/default/grub
@echo "DONE!"