Očitavanje koja je verzija OS-a

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
Drugari da li ste ovo zaboravili da prepravite ili je namerno stavljeno, zbog toga što je TRIOS baziran na Jessie-ki…? 🙂

lsb_release -a komanda izbacuje da je u pitanju TRIOS, ali cat /etc/os-release izbacuje da je u pitanju Debian Jessie…

View attachment 1492

View attachment 1493
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
/etc/os-release je systemd zaostatak…slobodno možeš da obrišeš to đubre iz TRIOS-a 🙂

original fajl se nalazi u /usr/lib, a u /etc je samo symlink
 
Last edited:

Filip

Active member
Joined
Jul 21, 2012
Messages
2,497
Reaction score
0
os-release je deo (essential!) “base-files” paketa. Nema veze sa uljezom. 😉

Code:
[filip@trios][~]$ dpkg -S /usr/lib/os-release
base-files: /usr/lib/os-release

[filip@trios][~]$ apt-cache show base-files
Package: base-files
Version: 8
Essential: yes
Installed-Size: 412
Maintainer: Santiago Vila [email protected]
Architecture: amd64
Replaces: base, dpkg (<= 1.15.0), miscutils
Provides: base
Pre-Depends: awk
Breaks: initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
Description-en: Debian base system miscellaneous files
This package contains the basic filesystem hierarchy of a Debian system, and
several important miscellaneous files, such as /etc/debian_version,
/etc/host.conf, /etc/issue, /etc/motd, /etc/profile, and others,
and the text of several common licenses in use on Debian systems.
…

@ubuntuser

Ostavljeno je za sad, iz nekog poštovanja prema upstream Debianu, i zato što lsb_release zadovoljava potrebe. @uname & @GRUB = TRIOS 🙂
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
alt
Filip:
os-release je deo (essential!) “base-files” paketa. Nema veze sa uljezom

One of the new configuration files systemd introduced is /etc/os-release. It replaces the multitude of per-distribution release files[1] with a single one.
Yesterday we decided to drop[/URL] support for systems lacking /etc/os-release in systemd since recently the majority of the big distributions
adopted /etc/os-release and many small ones did…


[URL]http://0pointer.de/blog/projects/os-release.html
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
Zaboravih da dodam…to što je nešto deo “base-files” ne znači da taj deo ne možemo da likvidiramo iz TRIOS-a…ili promenimo 🙂
 
Last edited:

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
Aha ok, pretpostavio sam da je tako, ali rekoh možda ste ipak prevideli… 🙂
 
Last edited:

Filip

Active member
Joined
Jul 21, 2012
Messages
2,497
Reaction score
0
alt
Dragan:

One of the new configuration files systemd introduced is /etc/os-release. It replaces the multitude of per-distribution release files[1] with a single one.
Yesterday we decided to drop[/URL] support for systems lacking /etc/os-release in systemd since recently the majority of the big distributions
adopted /etc/os-release and many small ones did…


[URL]http://0pointer.de/blog/projects/os-release.html
:cccc: Nataknem ga baš…
Usput, zanimljivo da ne zavisi od systemd-a… 😃 😃
alt
Dragan:
Zaboravih da dodam…to što je nešto deo “base-files” ne znači da taj deo ne možemo da likvidiramo iz TRIOS-a…ili promenimo 🙂
Naravno 🆙 Samo nije baš pametno brisati deo essential paketa sa sistema ( iako izvesno da ne bi škodilo ičemu u ovom slučaju ). 😉
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
alt
Filip:
Samo nije baš pametno brisati deo essential paketa sa sistema
Proglasiti jedan info za essential je još manje pametno…debianeri su ionako x puta dokazali da nisu baš previše logični, da ne upotrebim goru reč 😉
 
Last edited:
Top