r-darwish / alma

Create Arch Linux based bootable USB drives
GNU General Public License v3.0
389 stars 31 forks source link

Add support for installing AUR packages #48

Closed jamesmcm closed 4 years ago

jamesmcm commented 4 years ago

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 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.

r-darwish commented 4 years ago

This is really nice. Thank you!