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

Display OS SW version in device node #324

Closed
cbrake opened this issue Jan 26, 2022 · 6 comments
Closed

Display OS SW version in device node #324

cbrake opened this issue Jan 26, 2022 · 6 comments
Labels
enhancement improvements on existing functionality
Milestone

Comments

@cbrake
Copy link
Member

cbrake commented Jan 26, 2022

cc @kraj

@cbrake cbrake added the enhancement improvements on existing functionality label Jan 26, 2022
@cbrake
Copy link
Member Author

cbrake commented Apr 5, 2022

this should just be a point so that we can track software version changes over time automatically.

@cbrake cbrake added this to the v0.0.45 milestone Apr 8, 2022
@cbrake
Copy link
Member Author

cbrake commented Apr 15, 2022

Yoe images have OS version in VERSION_ID field:

root@raspberrypi4-64:~# more /etc/os-release 
ID=yoe
NAME="Yoe Linux"
VERSION="2022.03 (Orkney)"
VERSION_ID=0.0.1
PRETTY_NAME="Yoe Linux 2022.03 (Orkney)"
DISTRO_CODENAME="Orkney"
HOME_URL="https://github.com/YoeDistro"
SUPPORT_URL="https://github.com/YoeDistro/yoe-distro/issues"
BUG_REPORT_URL="https://github.com/YoeDistro/yoe-distro/issues"

@cbrake
Copy link
Member Author

cbrake commented Apr 15, 2022

Perhaps we should make which variable we use in /etc/os-release configurable though through an env variable. That way the user can use whatever fits the system they are running on.

@kraj
Copy link
Contributor

kraj commented Apr 16, 2022

Perhaps we should make which variable we use in /etc/os-release configurable though through an env variable. That way the user can use whatever fits the system they are running on.

there is os-release recipe which we add a bbappend in meta-yoe, we could certainly document setting these variables via config metadata if someone wants to do so.

@cbrake
Copy link
Member Author

cbrake commented Apr 18, 2022

image

@cbrake
Copy link
Member Author

cbrake commented Apr 18, 2022

implemented in #353

@cbrake cbrake closed this as completed Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvements on existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants