uts: implement boot environment support
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.
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 <email@example.com> Date: 2017-04-22T03:09:35.000Z 7839 uts: implement boot environment support Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Approved by: Joshua M. Clulow <firstname.lastname@example.org>
Updated by Marcel Telka 6 months ago
- Related to Feature #7838: loader: pass loader environment to kernel as module added