Update 'README.md'

This commit is contained in:
2020-08-13 12:21:17 +02:00
parent 771f956d66
commit 465388922f

View File

@@ -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. 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 ## 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 ### Example pacman.conf
@@ -12,18 +12,18 @@ To enable these complement repos you need to add them above the matching regular
[core-znver2] [core-znver2]
Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
[core]
Include = /etc/pacman.d/mirrorlist
[extra-znver2] [extra-znver2]
Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
[extra]
Include = /etc/pacman.d/mirrorlist
[community-znver2] [community-znver2]
Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community] [community]
Include = /etc/pacman.d/mirrorlist 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. Replace `extra-znver2` with whatever repo you want to install.
```shell script ```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. This is only needed once, new updates are coming from this new repo then, as usual.