Project

General

Profile

Actions

Bug #11626

closed

introduce /etc/versions/build

Added by John Levon about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

We should introduce a kernel module that can be used to identify a particular nightly-specified build version.


Related issues

Related to illumos gate - Feature #11813: Build /etc/versions/build from fragmentsIn ProgressAndy Fiddaman

Actions
Actions #1

Updated by John Levon about 4 years ago

This allows anybody to specify a particular string in usr/src/buildversion, and it will end up visible kernel-side via mdb ::status. We could use this to then avoid setting the CTF label to the git head, and avoid the constant conflicts issue.

Actions #2

Updated by John Levon about 4 years ago

  • Subject changed from need buildversion module to introduce /etc/versions/build

Introduce an /etc/versions/build file; by default it's populated with the git describe output.
We read it into the kernel to make it embedded in crash dumps, etc.

Actions #3

Updated by Electric Monk about 4 years ago

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

git commit 8eb8717cc9dc99bdd784b74c994bea7ef5e60f92

commit  8eb8717cc9dc99bdd784b74c994bea7ef5e60f92
Author: John Levon <john.levon@joyent.com>
Date:   2019-09-12T11:36:23.000Z

    11626 introduce /etc/versions/build
    11627 clean up UUID code for ::status
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions #4

Updated by Andy Fiddaman almost 4 years ago

  • Related to Feature #11813: Build /etc/versions/build from fragments added
Actions

Also available in: Atom PDF