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

Recognise Solus as a classic Linux distribution #3974

Merged
merged 1 commit into from
Sep 29, 2017

Conversation

ikeydoherty
Copy link
Contributor

@ikeydoherty ikeydoherty commented Sep 27, 2017

This allows snapd to recognise Solus as a classic Linux distribution so
that confinement operates correctly, and ensures it behaves correctly;
in as much as rexecution for snapd will not be supported on Solus.

Signed-off-by: Ikey Doherty ikey@solus-project.com

This allows snapd to recognise Solus as a classic Linux distribution so
that confinement operates correctly, and ensures it behaves correctly;
in as much as rexecution for snapd will not be supported on Solus.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
Copy link
Contributor

@zyga zyga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov-io
Copy link

codecov-io commented Sep 27, 2017

Codecov Report

Merging #3974 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3974      +/-   ##
==========================================
+ Coverage   75.97%   75.98%   +<.01%     
==========================================
  Files         423      423              
  Lines       36505    36505              
==========================================
+ Hits        27734    27737       +3     
+ Misses       6833     6830       -3     
  Partials     1938     1938
Impacted Files Coverage Δ
cmd/cmd.go 83.87% <100%> (ø) ⬆️
overlord/ifacestate/helpers.go 63% <0%> (+0.66%) ⬆️
cmd/snap/cmd_aliases.go 95% <0%> (+1.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d7d79c...17d11ff. Read the comment docs.

@mvo5
Copy link
Contributor

mvo5 commented Sep 28, 2017

Looks good, thank you! I think this PR highlights that we need to look at is_running_on_classic_distribution() and change it so that it looks at /etc/os-release and ID=core there so that you don't have to do this. But not a concern for this PR, just an observation.

@zyga
Copy link
Contributor

zyga commented Sep 28, 2017

@mvo5 I think we didn't want to parse /etc/os-release, if that decision has changed then by all means, let's do it.

@ikeydoherty
Copy link
Contributor Author

@mvo5 yeah whitelisting vs blacklisting is kinda of interesting in this respect.

@zyga zyga merged commit ce308b9 into canonical:master Sep 29, 2017
@zyga
Copy link
Contributor

zyga commented Sep 29, 2017

@mvo5 I merged this just to keep it around in case we have any delay in your generic PR

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.

4 participants