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

Boot partition for all future OS releases should contain an os-release file #906

Closed
pimterry opened this issue Nov 16, 2017 · 4 comments
Closed
Assignees

Comments

@pimterry
Copy link

This should contain the same content as /etc/os-release.

Right now, it's very difficult to take any arbitrary OS image and tell which OS version it comes from. The CLI's best solution to that so far is to mount the root partition and read /etc/os-release. This is no longer easily possible with a hostapp enabled rootfs. Having the OS version file easily available in the boot partition instead will make this process much simpler for all tools that need this information.

Discussed in https://github.com/resin-io/hq/wiki/Architecture-Calls#15-nov-2017 (as a tangent in the 'image reconfiguration bundle' topic)

@pimterry
Copy link
Author

@agherzan did we make any progress on this? It would be really useful to have it in ASAP, it'd be a huge help long-term to have this in place before multicontainer, so we can clearly recognize multicontainer images externally in future.

@agherzan
Copy link
Contributor

@pimterry I'm going to work on this this week. Added to my queue.

@pimterry
Copy link
Author

Coming back from holiday to have this fixed & shipped already is really great, thank you @agherzan!

@agherzan
Copy link
Contributor

@pimterry I told you vacations are overrated.

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

No branches or pull requests

2 participants