Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Versioning
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 335

PostPosted: Tue Jan 14, 2025 11:45 pm    Post subject: [Solved] Versioning Reply with quote

Hello everyone,

I have a question regarding the /etc/os-release file on Gentoo. Specifically, I’m wondering if the VERSION_ID field in this file is related to a Gentoo profile number, or if it serves a different purpose.

I’ve checked the documentation, but I couldn’t find a direct reference connecting the two. Could someone clarify this for me?

Thanks in advance!

Code:
$ grep VERSION_ID /etc/os-release
VERSION_ID="2.17"

Code:
$ eselect profile list | grep 17
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (exp)
  [3]   default/linux/amd64/17.1/hardened (exp)
  [4]   default/linux/amd64/17.1/hardened/selinux (exp)
  [5]   default/linux/amd64/17.1/desktop (exp)
  [6]   default/linux/amd64/17.1/desktop/gnome (exp)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr (exp)
  [8]   default/linux/amd64/17.1/desktop/plasma (exp)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr (exp)
  [10]  default/linux/amd64/17.1/desktop/systemd/merged-usr (exp)
  [11]  default/linux/amd64/17.1/developer (exp)
  [12]  default/linux/amd64/17.1/no-multilib (exp)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (exp)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (exp)
  [15]  default/linux/amd64/17.1/no-multilib/systemd/merged-usr (exp)
  [16]  default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr (exp)
  [17]  default/linux/amd64/17.1/systemd/merged-usr (stable)
  [18]  default/linux/amd64/17.1/systemd/selinux/merged-usr (exp)
  [19]  default/linux/amd64/17.1/clang (exp)
  [20]  default/linux/amd64/17.1/systemd/clang/merged-usr (exp)
  [60]  default/linux/amd64/17.0/x32 (exp)
  [61]  default/linux/amd64/17.0/x32/systemd/merged-usr (exp)
  [65]  default/linux/amd64/17.0/musl (exp)
  [66]  default/linux/amd64/17.0/musl/clang (exp)
  [67]  default/linux/amd64/17.0/musl/hardened (exp)
  [68]  default/linux/amd64/17.0/musl/hardened/selinux (exp)


Last edited by spica on Wed Jan 15, 2025 2:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20575

PostPosted: Wed Jan 15, 2025 12:43 am    Post subject: Reply with quote

I'm guessing that it is related to baselayout:
Code:
$ grep VERSION /etc/os-release
VERSION_ID="2.17"
$ qlist -CISRv baselayout
sys-apps/baselayout-2.17:0::gentoo
$ qfile /etc/os-release
sys-apps/baselayout: /etc/os-release

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1790
Location: South America

PostPosted: Wed Jan 15, 2025 11:37 am    Post subject: Reply with quote

Yeah, it's the version of the currently installed sys-apps/baselayout.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 335

PostPosted: Wed Jan 15, 2025 1:59 pm    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum