I've been using systemd-nspawned machines a fair amount lately, and it would be hugely helpful (for at least this narrow use case) to be able to build AUR packages on the host machine but install them onto the guest. This PR adds the --root option, passing it through to the underlying sync and upgrade pacman commands.
Closing as it appears that there are additional changes needed to make dependency handling work when dependencies of installation targets are already present on the host system but not on the guest.
I've been using
systemd-nspawn
ed machines a fair amount lately, and it would be hugely helpful (for at least this narrow use case) to be able to build AUR packages on the host machine but install them onto the guest. This PR adds the--root
option, passing it through to the underlying sync and upgradepacman
commands.Thanks in advance for considering the PR!