FS#69561 - [pacman] makepkg should not run $PACMAN command as root
Attached to Project:
Pacman
Opened by soloturn (soloturn) - Saturday, 06 February 2021, 12:23 GMT
Last edited by morganamilo (morganamilo) - Saturday, 06 February 2021, 12:44 GMT
Opened by soloturn (soloturn) - Saturday, 06 February 2021, 12:23 GMT
Last edited by morganamilo (morganamilo) - Saturday, 06 February 2021, 12:44 GMT
|
Details
Description:
can makepkg please not run commands passed in the $PACMAN environment variable as root but only run the command itself? Additional info: when developing a AUR package it is convenient to run a command to install dependencies. so i set export PACMAN=paru running package builds from AUR as root is (fortunately) prohibited by AUR helpsers like yay and paru. but - that means - it does not work seamlessly with makepkg, as it tries to call the command given by $PACMAN as root. much nicer it would be that the command provided needs to make sure it has appropriate permissions, either via a "sudo command" or something inside, like in yay and paru. |
This task depends upon
Closed by morganamilo (morganamilo)
Saturday, 06 February 2021, 12:44 GMT
Reason for closing: Won't implement
Additional comments about closing: If makepkg didn't run pacman as root then pacman would fail.
Plus AUR helpers are unsupported so don't expect makepkg to accommodate for them.
Saturday, 06 February 2021, 12:44 GMT
Reason for closing: Won't implement
Additional comments about closing: If makepkg didn't run pacman as root then pacman would fail.
Plus AUR helpers are unsupported so don't expect makepkg to accommodate for them.