Update 'README.md'
This commit is contained in:
16
README.md
16
README.md
@@ -4,7 +4,7 @@ Build script for archlinux instructionset enabled repos.
|
||||
All packages are build with -march=<cpu-set> and -O3. Some packages will not build with -O3, they will just be provided from the official repos as usual.
|
||||
|
||||
## Enable Repos
|
||||
To enable these complement repos you need to add them above the matching regular repo in `/etc/pacman.conf`
|
||||
To enable these complement repos you need to add them above the regular repos in `/etc/pacman.conf`
|
||||
|
||||
### Example pacman.conf
|
||||
|
||||
@@ -12,18 +12,18 @@ To enable these complement repos you need to add them above the matching regular
|
||||
[core-znver2]
|
||||
Server = https://alhp.harting.dev/$repo/os/$arch/
|
||||
|
||||
[core]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra-znver2]
|
||||
Server = https://alhp.harting.dev/$repo/os/$arch/
|
||||
|
||||
[extra]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[community-znver2]
|
||||
Server = https://alhp.harting.dev/$repo/os/$arch/
|
||||
|
||||
[core]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[community]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
```
|
||||
@@ -54,7 +54,7 @@ Following command reinstalls all packages found in the repo **extra-znver2** tha
|
||||
Replace `extra-znver2` with whatever repo you want to install.
|
||||
|
||||
```shell script
|
||||
pacman -S $(pacman -Sl extra-znver2 | grep installed | cut -f 2 -d " " | perl -p -e 's/\R/ /g;')
|
||||
pacman -S $(pacman -Sl extra-znver2 | grep installed | cut -f 2 -d " " | perl -pe 's/\R/ /g;')
|
||||
```
|
||||
|
||||
This is only needed once, new updates are coming from this new repo then, as usual.
|
Reference in New Issue
Block a user