It might be possible to simplify/remove the sed commands for editing the sudoers file, and the way we run makepkg via bash (since we need to change directory inside the chroot).
Can be installed via:
aur_packages field in presets
aur-packages argument for the create command
User can specify the AUR helper to use with --aur-helper
At the moment only yay is implemented
More can be implemented by providing their (non-interactive) install
command and name as an instance of the AurHelper struct.
Note makepkg and yay will not run under root user, so we must create a
temporary non-root user and clean up afterwards.
Resolves issue #43
It might be possible to simplify/remove the sed commands for editing the sudoers file, and the way we run
makepkg
via bash (since we need to change directory inside the chroot).Can be installed via:
User can specify the AUR helper to use with
--aur-helper
At the moment only
yay
is implementedMore can be implemented by providing their (non-interactive) install command and name as an instance of the AurHelper struct.
Note makepkg and yay will not run under root user, so we must create a temporary non-root user and clean up afterwards.