more readme work
This commit is contained in:
47
README.md
47
README.md
@@ -1,6 +1,53 @@
|
||||
# alhp
|
||||
|
||||
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 installed 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`
|
||||
|
||||
### Example pacman.conf
|
||||
|
||||
```editorconfig
|
||||
[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/
|
||||
|
||||
[community]
|
||||
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).
|
||||
Currently alhp.harting.dev only builds for `znver2`, `ivybridge`, `sandybridge` and `skylake` (list is subject to change).
|
||||
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:
|
||||
|
||||
Import:
|
||||
```
|
||||
pacman-key --keyserver keyserver.ubuntu.com --recv-keys 0D4D2FDAF45468F3DDF59BEDE3D0D2CD3952E298
|
||||
```
|
||||
|
||||
Local sign:
|
||||
```
|
||||
pacman-key --lsign-key 0D4D2FDAF45468F3DDF59BEDE3D0D2CD3952E298
|
||||
```
|
||||
|
||||
Update package database:
|
||||
```
|
||||
pacman -Sy
|
||||
```
|
||||
|
||||
## Replace packages
|
||||
Following command reinstalls all packages found in the repo **extra-znver2** that are already installed.
|
||||
|
Reference in New Issue
Block a user