Update Linux framework laptop for AMD board.

Unfortunately, FreeBSD does not seem to boot so it is not being updated in this commit.
This commit is contained in:
Tom Alexander
2023-12-06 21:14:38 -05:00
parent 9d54609a12
commit a7fe6ff42d
9 changed files with 56 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# If something is very wrong in pacman, this removes the keyring and the entire custom repo, then sets up pacman's keyring again. Running the ansible playbook is necessary to get the custom repo added.
set -euo pipefail
IFS=$'\n\t'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
doas rm -rf /var/cache/pacman/custom/ /etc/pacman.d/conf.d/aurutils.conf
doas rm -rf /etc/pacman.d/gnupg
doas pacman-key --init
doas pacman-key --populate archlinux
doas pacman -S archlinux-keyring