18 lines
902 B
Plaintext
18 lines
902 B
Plaintext
Package: naros-identity
|
|||
|
|
Version: @VERSION@
|
||
|
|
Architecture: @ARCH@
|
||
|
|
Maintainer: Nucleic <[email protected]>
|
||
|
|
Section: utils
|
||
|
|
Priority: optional
|
||
|
|
Depends: libc6
|
||
|
|
Description: narOS kernel identity shim (NAROS.md §2.3)
|
||
|
|
narOS ships no kernel of its own — containers share the host's and the VM tiers
|
||
|
|
boot an externally-fetched vmlinux — so uname(2) reports a kernel with no narOS
|
||
|
|
in it, and every consumer that derives an OS string from it (notably the
|
||
|
|
`OS Version:` line agent harnesses build from os.type()+os.release()) misses the
|
||
|
|
identity that /etc/os-release carries. This package preloads a small interposer
|
||
|
|
via /etc/ld.so.preload that appends the narOS release tag to utsname.release,
|
||
|
|
the way a distro kernel package does. sysname stays "Linux" so build tooling
|
||
|
|
that switches on it is unaffected; NAROS_UNAME_PASSTHROUGH=1 disables the tag
|
||
|
|
for callers that resolve /lib/modules/`uname -r`.
|