Action Item #688

linux pibox-version to os-release

Added by Hammel over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:17 Feb 2019
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:00 - Basic Build Issues
Target version:1.1.0 - Upgrades
Severity:01 - Critical

Description

The latter seems to be what's used in Raspbian so we might as well conform to that a little.

See:

Associated revisions

Revision 849dfbd6
Added by Hammel over 1 year ago

RM #688: Add os-release to distribution.

Revision 5da43122
Added by Hammel over 1 year ago

RM #688: Add PLATFORM to os-release so we can more easily identify rpi, rpi2 and now xeon releases.

History

#1 Updated by Hammel over 1 year ago

It probably wouldn't hurt to also include, somewhere, the output of

cat /proc/device-tree/model

which tells me which model I'm running, such as

Raspberry Pi 2 Model B Rev 1.1

or

Raspberry Pi 3 Model B Rev 1.2

#2 Updated by Hammel over 1 year ago

  • Description updated (diff)

#3 Updated by Hammel over 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This has been implemented but without the device-tree model which really doesn't fit into any specific field of the os-release definition.

Changes pushed.
Closing issue.

Also available in: Atom PDF