adjust readme to new instructionssets

This commit is contained in:
2021-05-18 19:42:48 +02:00
parent 6dccc8c27b
commit c3d26b1450

View File

@@ -9,13 +9,13 @@ To enable these complement repos you need to add them above the regular repos in
### Example pacman.conf ### Example pacman.conf
```editorconfig ```editorconfig
[core-znver2] [core-x86-64-v3]
Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
[extra-znver2] [extra-x86-64-v3]
Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
[community-znver2] [community-x86-64-v3]
Server = https://alhp.harting.dev/$repo/os/$arch/ Server = https://alhp.harting.dev/$repo/os/$arch/
[core] [core]
@@ -28,8 +28,8 @@ Include = /etc/pacman.d/mirrorlist
Include = /etc/pacman.d/mirrorlist Include = /etc/pacman.d/mirrorlist
``` ```
Replace znver2 with your cpu-set. More information about all available options on [this gcc page](https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html). Replace `x86-64-v3` with your cpu-set. More information about all available options on [this gcc page](https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html).
Currently alhp.harting.dev only builds for `znver2`, `ivybridge`, `sandybridge` and `skylake` (list is subject to change). Currently, alhp.harting.dev only builds for `x86-64-v3` (list is subject to change).
You can see all available repositories [here](https://alhp.harting.dev/). You can see all available repositories [here](https://alhp.harting.dev/).
After finished adding the repos to `pacman.conf` you need to import and sign the used pgp key: After finished adding the repos to `pacman.conf` you need to import and sign the used pgp key:
@@ -50,11 +50,11 @@ pacman -Sy
``` ```
## Replace packages ## Replace packages
Following command reinstalls all packages found in the repo **extra-znver2** that are already installed. Following command reinstalls all packages found in the repo **extra-x86-64-v3** that are already installed.
Replace `extra-znver2` with whatever repo you want to install. Replace `extra-x86-64-v3` with whatever repo you want to install.
```shell script ```shell script
pacman -S $(pacman -Sl extra-znver2 | grep installed | cut -f 2 -d " " | perl -pe 's/\R/ /g;') pacman -S $(pacman -Sl x86-64-v3 | 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.