Add Arch helper scripts

This commit is contained in:
Sandro Keil
2018-12-29 13:18:48 +01:00
parent c9882d01d8
commit f27e6a0bf8
7 changed files with 111 additions and 1 deletions

20
scripts/arch/06-secure-boot.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/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"