Actions
Feature #7838
closedloader: pass loader environment to kernel as module
Start date:
2017-02-03
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
To simplify dealing with properties, we can just pack the loader environment as virtual module an pass it to kernel as name=value pairs. To identify the module, we set the name and type for module as:
name=environment
type=environment
so the kernel can recognize this module and use it. For property processing, the properties passed on kernel command line via -B, will always take precedence over values in environment. This way the operator can always override the values in environment.
To simplify the distinction, if the environment module is supported or not, we do implement it only via multiboot2 protocol.
Related issues
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 76608ff7a54afda798e7fdc98681fb6d37322109
commit 76608ff7a54afda798e7fdc98681fb6d37322109 Author: Toomas Soome <tsoome@me.com> Date: 2017-04-22T03:09:34.000Z 7838 loader: pass loader environment to kernel as module Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Joshua M. Clulow <josh@sysmgr.org>
Updated by Marcel Telka 10 months ago
- Related to Feature #7839: uts: implement boot environment support added
Actions