keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

Added option to specify an alternative installation root #152

Closed tomeon closed 7 years ago

tomeon commented 7 years ago

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.

Thanks in advance for considering the PR!

tomeon commented 7 years ago

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.