CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1841 - /etc/os-release for identification

Attached to Project: CRUX
Opened by Alexander Matviychuk (alexmat) - Wednesday, 30 December 2020, 08:12 GMT
Last edited by Alexander Matviychuk (alexmat) - Wednesday, 30 December 2020, 08:12 GMT
Task Type Feature Request
Category ports → core/opt
Status New
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.5
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I am using wails (https://wails.app/guides/distro/) and it requires /etc/os-release to pull in information about which distro it's running on. It seems like something that is supported in a lot of other distros and could be useful to add to crux. Here is an example for Ubuntu:

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.04"
VERSION_ID="19.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=disco
UBUNTU_CODENAME=disco
This task depends upon

Comment by Tim Biermann (tb) - Thursday, 29 April 2021, 12:58 GMT
I never needed that before (iirc) but I don't see any harm in providing this file. Any other opinions?
Comment by Alexander Matviychuk (alexmat) - Sunday, 23 May 2021, 08:20 GMT
More information can be found here about this file: https://www.linux.org/docs/man5/os-release.html
Comment by Alexander Matviychuk (alexmat) - Sunday, 23 May 2021, 08:22 GMT
Original rationale for the file can be found here: http://0pointer.de/blog/projects/os-release
Comment by Juergen Daubert (jue) - Sunday, 23 May 2021, 12:25 GMT
Please attach a suitable file here. I'd suggest to provide it via core/filesystem.

Loading...