Build script for archlinux instructionset enabled repos.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Giovanni Harting 1ff6c8ec2b adjusted loglevel of queue filling 2 달 전
.gitignore new gitignore 2 달 전
LICENSE Initial commit 2 달 전
README.md Update 'README.md' 2 달 전
alhp.service initial commit 2 달 전
config.yaml changed some defaults in config.yaml 2 달 전
makepkg-x86_64.conf added 'clean' makepkg.conf 2 달 전
master.py adjusted loglevel of queue filling 2 달 전

README.md

alhp

Build script for archlinux instructionset enabled repos. All packages are build with -march= 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 regular repos in /etc/pacman.conf

Example pacman.conf

[core-znver2]
Server = https://alhp.harting.dev/$repo/os/$arch/

[extra-znver2]
Server = https://alhp.harting.dev/$repo/os/$arch/

[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

Replace znver2 with your cpu-set. More information about all available options on this gcc page. Currently alhp.harting.dev only builds for znver2, ivybridge, sandybridge and skylake (list is subject to change). You can see all available repositories here.

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. Replace extra-znver2 with whatever repo you want to install.

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.