Feature #7839
closeduts: implement boot environment support
100%
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
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>
Updated by Marcel Telka 6 months ago
- Related to Feature #7838: loader: pass loader environment to kernel as module added