r-darwish / alma

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

Add aur_helper and aur_packages fields to presets #43

Closed jamesmcm closed 4 years ago

jamesmcm commented 4 years ago

Task

Add aur_helper and aur_packages fields to presets.

The aur_helper will need to be installed separately (and this is not trivial, maybe this should be built in to ALMA).

The aur_helper will also need to be customisable (since the "best" helper has changed often i.e. from yaourt to pacaur to yay).

Justification

This allows preset developers to install packages via the AUR without having to do it in custom scripts (which are harder for the users to review).

r-darwish commented 4 years ago

I thought about this and didn't come up with any solution I'm happy with. This would be a good feature but I still debate about how to implement it.

jamesmcm commented 4 years ago

Yeah, the tricky thing is handling different AUR helpers, but also not making the presets depend on one another.

Maybe the user can pass their AUR helper to ALMA which ALMA installs, and then the presets just specify the AUR packages to install (if any).

txtsd commented 2 years ago

Could you make a new release so we can have access to the --aur-helper flag?