arch/README.md

1.9 KiB

My personalized Arch Linux distribution

Submodules - Initialization and Updating

There are several AUR packages added as submodules inside pkg. See build-pkg/pkglist-AUR.txt for a full list.

They were added in the following manner:

AUR=(xorg-meta riseup-vpn nordic-kde-git ...)

for pkg in "${AUR[@]}"; do
  git submodule add "https://aur.archlinux.org/${pkg}.git" pkg/"${pkg}"
done

To initialize the submodules, run

git submodule init

To update all submodules, run

# If no local changes were done
(set -o pipefail; git submodule update --remote | { grep 'Submodule path' || echo 'Everything up to date.'; })

# Otherwise
git submodule foreach 'git pull'

Build packages from source

Fork this repository.

Then and adjust the following files:

Build de-p1st-repo:

cd build-pkg
sudo docker-compose run --rm makepkg de-p1st-repo

Install it on your build-machine and your mirror-server:

# On your local machine
sudo pacman -U out/de-p1st-repo*.pkg.tar.*

# Copy the package to your mirror-server and install it there as well!

Then you can start building all packages and adding them to your mirror-server:

./build-all.sh

Install Arch Linux

See pkg/de-p1st-installer/README.md

Notes and TODOs

See notes.md