Project

General

Profile

Bug #11626

introduce /etc/versions/build

Added by John Levon 20 days ago. Updated 4 days ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

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

History

#1

Updated by John Levon 20 days 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.

#2

Updated by John Levon 12 days 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.

#3

Updated by Electric Monk 4 days 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>

Also available in: Atom PDF