Project

General

Profile

Actions

Feature #7792

closed

loader: export zfs-bootfs related data into the environment

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-01-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

As of preparation to pass boot loader environment to the kernel, we need to make sure the important data is stored in the environment.

Actions #1

Updated by Toomas Soome over 4 years ago

Toomas Soome wrote:

As of preparation to pass boot loader environment to the kernel, we need to make sure the important data is stored in the environment.

Currently we can pass information to the kernel as properties listed on kernel command line, specified as:
-B name=value,name=value,...

Obviously this method is limited, and the more generic mechanism is needed, as the loader does have environment space, it will be reasonable to export the environment as virtual module, thus making the information available to the OS.

To make such export usable, we need to make sure the important data is present at the time of the export, so this feature will make sure the zfs-bootfs related properties are present in loader environment.

Actions #2

Updated by Electric Monk over 4 years ago

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

git commit 6369122c44f069dc3629fe9b3ef640e275329345

commit  6369122c44f069dc3629fe9b3ef640e275329345
Author: Toomas Soome <tsoome@me.com>
Date:   2017-02-10T16:47:51.000Z

    7792 loader: export zfs-bootfs related data into the environment
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF