[pacman-dev] [PATCH] makepkg: implement locking for pacman commands
When pacman is run as root to do -S, -U, or -R, it would immediately
abort if pacman is not ready for use. Instead, poll the lockfile and
wait until it becomes available.
Implements FS#28840
Original-patch-by: Georges Dubus
When pacman is run as root to do -S, -U, or -R, it would immediately
abort if pacman is not ready for use. Instead, poll the lockfile and
wait until it becomes available.
Implements FS#28840
Original-patch-by: Georges Dubus
On 21/2/19 12:35 pm, Eli Schwartz wrote:
When pacman is run as root to do -S, -U, or -R, it would immediately abort if pacman is not ready for use. Instead, poll the lockfile and wait until it becomes available.
Implements FS#28840
Original-patch-by: Georges Dubus
Signed-off-by: Eli Schwartz --- v2: repeat the wait message every 30 seconds. This lets the user know we are actually "doing something".
Implemented as a result of discussion on #archlinux-pacman, seems like a bit of a placebo effect to me. I am okay with either version being accepted.
Looks good. Given I suggested it, I don't think it is placebo, but shows the lack of hanging. Allan
participants (2)
-
Allan McRae
-
Eli Schwartz