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
1 changed files with 19 additions and 8 deletions

View File

@ -1,12 +1,23 @@
# README
```sh
# create GPG keys
# copy {pacman,makepkg}-grawlinson.conf to /etc/aurutils
Ensure local repository is in `/etc/pacman.conf`, using the `file://` format.
# create systemd-nspawn chroot for aurbuild
aur chroot --create -M /etc/aurutils/makepkg-grawlinson.conf -C /etc/aurutils/pacman-grawlinson.conf
# build package
aur build --chroot --gpg-sign --remove
```conf
[grawlinson]
Server = file:///var/lib/repo/grawlinson
```
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
```