Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #6713/f6ee2177 backport][stable-7] pacman: support yay as root #6896

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jul 8, 2023

This is a backport of PR #6713 as merged into main (f6ee217).

SUMMARY

Add additional parsing to support yay running as root, as the tool will always print a warning about the fact.

It must be noted, however, that for some reason I haven't identified (nor planning to invest so much time to do that), whenever yay is executed on a remote node (tested on a local VM with vagrant), it will not install AUR packages, only stable repositories are read.

Fixes #6184

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

pacman

* pacman: support yay as root

* make pylint happy

* minor adjustments

* rollback some test actions

* removal of user and pkgs in handlers

* add comment to note

* add changelog frag

* fix doc

* Update tests/integration/targets/pacman/tasks/yay-become.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update tests/integration/targets/pacman/tasks/yay-become.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* simplify pkg install in int. tests

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit f6ee217)
@patchback patchback bot mentioned this pull request Jul 8, 2023
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug integration tests/integration module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests labels Jul 8, 2023
@felixfontein felixfontein merged commit 9027c36 into stable-7 Jul 8, 2023
@felixfontein felixfontein deleted the patchback/backports/stable-7/f6ee2177a2134a916ef0f21d521529e51dd0af4c/pr-6713 branch July 8, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug integration tests/integration module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants