docs: update bootstrap steps

This commit is contained in:
George Rawlinson 2021-07-24 10:51:17 +00:00
parent 95802d784e
commit 8329281844
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,12 +1,23 @@
# README # README
```sh Ensure local repository is in `/etc/pacman.conf`, using the `file://` format.
# create GPG keys
# copy {pacman,makepkg}-grawlinson.conf to /etc/aurutils
# create systemd-nspawn chroot for aurbuild ```conf
aur chroot --create -M /etc/aurutils/makepkg-grawlinson.conf -C /etc/aurutils/pacman-grawlinson.conf [grawlinson]
Server = file:///var/lib/repo/grawlinson
# build package ```
aur build --chroot --gpg-sign --remove
Ensure GPG keys for signing packages & repositories have been created,
and exist in pacman's keyring.
Copy aurutils configuration to the global directory.
```sh
cp -t /etc/aurutils {pacman,makepkg}-grawlinson.conf
```
Create a `systemd-nspawn` instance for aurbuild.
```sh
aur chroot --create -M /etc/aurutils/makepkg-grawlinson.conf -C /etc/aurutils/pacman-grawlinson.conf
``` ```