Skip to content

[PATCH]: recognize NixOS Linux#35

Open
jagajaga wants to merge 2 commits intovmware:masterfrom
jagajaga:master
Open

[PATCH]: recognize NixOS Linux#35
jagajaga wants to merge 2 commits intovmware:masterfrom
jagajaga:master

Conversation

@jagajaga
Copy link
Copy Markdown

No description provided.

@wmertens
Copy link
Copy Markdown

I wonder why VMWare thinks it's ok to completely ignore work done for them for free by volunteers…

@vmwclabot
Copy link
Copy Markdown

@jagajaga, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@csamsel
Copy link
Copy Markdown

csamsel commented Jun 14, 2016

assuming the existance of /etc/os-release implies a specific distribution (in the case NixOS) is wrong. It's not distribution specific, it's specific by LSB and available on almost all distributions.

@jagajaga
Copy link
Copy Markdown
Author

@csamsel so who do you suggest to get that it is a NixOS?

@csamsel
Copy link
Copy Markdown

csamsel commented Jun 14, 2016

First of all, if you ask me, the OS recognition needs a complete rewrite, it is beyond repairable.

I never heard of NixOS, so i dont know anything about it. But the patch you suggested would break common distributions because the if/then/else around line 617 would match on /etc/os-release before e.g. Ubuntu and therefore recognize Ubuntu as NixOS.

If you are a NixOS developer the most simple way would probably to supply a patch to open-vm-tools in the respective package manager.

@jagajaga
Copy link
Copy Markdown
Author

@wmertens what do you think?

@wmertens
Copy link
Copy Markdown

I agree that claiming os-release for NixOS is a bit greedy :) We could move the check to the bottom of the array.

The correct solution is to implement #33/etc/os-release is the only attempt at standardizing this problem that I know of. So this file should be parsed first, and only if it is missing should the old code run.

@csamsel we do indeed have this patch in NixOS so for our use cases this is mostly worked around. Not pretty though, and note that our builds are also used on other OSes via NixPkgs.

@vmwclabot
Copy link
Copy Markdown

@jagajaga, your company's legal contact did not review your signed contributor license agreement within the 14 day limit. The merge can not proceed. Click here to resign the agreement.

@copumpkin
Copy link
Copy Markdown

@jagajaga ping 😄 it would be great to get this merged in so we can stop patching it on the distro side

@jagajaga
Copy link
Copy Markdown
Author

We have received your signed contributor license agreement. An e-mail will be dispatched to the legal contact within your company for approval to contribute to this open source project. If the request is denied or a response is not receieved within 14 days, the pull request will be rejected. If approved, it will then be reviewed by VMware. Please close this window.

@vmwclabot
Copy link
Copy Markdown

@jagajaga, your company's legal contact has approved your signed contributor license agreement. It will also be reviewed by VMware, but the merge can proceed.

@vmwclabot
Copy link
Copy Markdown

@jagajaga, VMware has approved your signed contributor license agreement.

@rasendubi
Copy link
Copy Markdown

What is the status of this?

@rawtaz
Copy link
Copy Markdown

rawtaz commented Sep 10, 2018

@vmwareopenvmtools Can you please take a look at this? Apparently there's a patch in #33 that solves this issue.

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.

7 participants