-
Notifications
You must be signed in to change notification settings - Fork 8
/
add-EndeavourOS
20 lines (19 loc) · 1.22 KB
/
add-EndeavourOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
# setting up EndeavourOS repo:
# try fix keyring issue 1.1.2024
pacman-key --init && pacman -Syu --noconfirm && pacman -Syu base-devel --noconfirm
pacman -Sy --noconfirm --needed archlinux-keyring wget
wget https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/main/pacman.conf
cp pacman.conf /etc/pacman.conf
wget https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/main/airootfs/etc/makepkg.conf
cp makepkg.conf /etc/makepkg.conf
wget https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/endeavouros-mirrorlist/endeavouros-mirrorlist
cp endeavouros-mirrorlist /etc/pacman.d/endeavouros-mirrorlist
pacman-key --recv-key 0F20FADC599D1C46EB556455AED8858E4B9813F1 --keyserver keyserver.ubuntu.com && pacman-key --lsign-key 0F20FADC599D1C46EB556455AED8858E4B9813F1
pacman-key --recv-key 497AF50C92AD2384C56E1ACA003DB8B0CB23504F --keyserver keyserver.ubuntu.com && pacman-key --lsign-key 497AF50C92AD2384C56E1ACA003DB8B0CB23504F
pacman-key --init
pacman -Syy --noconfirm endeavouros-keyring
pacman -S --noconfirm endeavouros-mirrorlist
pacman -S --noconfirm reflector eos-rankmirrors
reflector --age 2 --number 23 --save /etc/pacman.d/mirrorlist
eos-rankmirrors —verbose —sort rate