Project

General

Profile

Actions

Feature #7839

closed

uts: implement boot environment support

Added by Toomas Soome over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2017-02-03
Due date:
% Done:

100%

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

Description

Check if the boot loader is providing its environment as module, if so, prepare the property processing.

We need to take care of properties in two locations/cases. First, the early boot (dboot/boot) needs to access properties to perform the early boot tasks. For second, the fakebop.c should pick up the properties provided by boot loader and prepare them for being populated as kernel properties. In both cases, we always prefer command line properties (-B name=value) over environment.

As the boot loader environment is also used for boot loader purposes, there are always names only meaningful for boot loader, or only early boot and we do not necessarily want to translate such names to kernel properties. For such reason, the blacklist mechanism is needed, so we can exclude the known cases and import anything else.


Related issues

Related to illumos gate - Feature #7838: loader: pass loader environment to kernel as moduleClosedToomas Soome2017-02-03

Actions
Actions #1

Updated by Electric Monk about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit f289ce6eb03db0584699ec4fed88ef795a33dd79

commit  f289ce6eb03db0584699ec4fed88ef795a33dd79
Author: Toomas Soome <tsoome@me.com>
Date:   2017-04-22T03:09:35.000Z

    7839 uts: implement boot environment support
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Actions #2

Updated by Marcel Telka 6 months ago

  • Related to Feature #7838: loader: pass loader environment to kernel as module added
Actions

Also available in: Atom PDF