docs: update bootstrap steps
This commit is contained in:
parent
95802d784e
commit
8329281844
1 changed files with 19 additions and 8 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue