Files
ykfde/scripts/arch/06-secure-boot.sh
2018-12-29 13:18:48 +01:00

20 lines
421 B
Bash
Executable File

#!/usr/bin/env bash
set -e
SCRIPT_NAME=`basename "$0"`
echo "=========== ${SCRIPT_NAME} ==========="
pacman -Sy binutils fakeroot
curl -L https://github.com/xmikos/cryptboot/archive/master.zip | bsdtar -xvf - -C .
cd cryptboot-master
makepkg -si --skipchecksums
cryptboot-efikeys create
cryptboot-efikeys enroll
cryptboot update-grub
echo ""
echo "====================="
echo "Proceed with chapter 06: Pacman hooks"