Skip to content

Instantly share code, notes, and snippets.

@JeffCarpenter
Created January 28, 2019 19:17
Show Gist options
  • Save JeffCarpenter/abaeb277008d66688f29bd6ca4a0d21b to your computer and use it in GitHub Desktop.
Save JeffCarpenter/abaeb277008d66688f29bd6ca4a0d21b to your computer and use it in GitHub Desktop.
In which I (successfully) try to compile and install Arch's hardened kernel from Manjaro
KEYSERVER='hkp://pool.sks-keyservers.net'
yay asp-https
yay ccache
# yay base-devel
cp /etc/makepkg.conf ~/.makepkg.conf
vim ~/.makepkg.conf
cd archlinux
mkdir asp
cd asp
asp checkout -v linux-hardened
cd linux-hardened
asp checkout xmlto
cd xmlto
makepkg # fails because of missing gpg public keys
gpg -v --auto-key-locate cert,pka,dane,wkd,keyserver --locate-keys torvalds@kernel.org gregkh@kernel.org
pacman-key --finger FC1B547C8D8172C8
# sudo pacman-key --updatedb
# sudo pacman-key --init
# sudo pacman-key --populate archlinux manjaro
# sudo pacman-key --refresh-keys
gpg --keyserver $KEYSERVER --search-keys FC1B547C8D8172C8
makepkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment