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

A couple fixes for Antergos Linux #36428

Merged
merged 3 commits into from
Sep 20, 2016
Merged

Conversation

terminalmage
Copy link
Contributor

@terminalmage terminalmage commented Sep 20, 2016

This pull request fixes the following issues affecting Antergos Linux:

  1. Antergos incorrectly sets its /etc/lsb-release, setting DISTRIB_ID=Arch. While this doesn't break things like setting pacman.py as the pkg virtual module, it does result in the os grain being set to Arch when it should be set as Antergos.
  2. Antergos (at least its ARM variant) seems to be adding lines when it downloads updated package databases, interfering with pkg.list_upgrades (see pkg.list_upgrades return debug information rather than packages list #36388).

Additionally, pacman.py, despite only being assigned to distros in the Arch os_family, has its __virtual__ function checking the os grain. This pull request changes this so that it checks that the os_family is Arch, which should be easier to maintain moving forward.

Fixes #36388.

It appears that Antergos distributes a modified version of pacman which
adds additional lines while updating its package databases. These are
incorrectly interpreted as available upgrades. This commit checks for
these lines in the output and skips them.
This is a more future-proof method, it'll keep us from continuing to
update pacman.py each time we add another Arch derivative to the Arch
os_family.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants