View previous topic :: View next topic |
Author |
Message |
spica Guru

Joined: 04 Jun 2021 Posts: 345
|
Posted: Tue Jan 14, 2025 11:45 pm Post subject: [Solved] Versioning |
|
|
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 |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20589
|
Posted: Wed Jan 15, 2025 12:43 am Post subject: |
|
|
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 |
|
 |
GDH-gentoo Veteran


Joined: 20 Jul 2019 Posts: 1827 Location: South America
|
Posted: Wed Jan 15, 2025 11:37 am Post subject: |
|
|
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 |
|
 |
spica Guru

Joined: 04 Jun 2021 Posts: 345
|
Posted: Wed Jan 15, 2025 1:59 pm Post subject: |
|
|
Thank you! |
|
Back to top |
|
 |
|