]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/boot1.efi: use the bootonce dataset as root dataset
authorGleb Smirnoff <glebius@FreeBSD.org>
Thu, 8 Jun 2023 18:14:45 +0000 (11:14 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Thu, 8 Jun 2023 18:14:45 +0000 (11:14 -0700)
commitbbc64cf66cdf03bc0e45aecfbca13f7b6f025a65
tree72f73d1640f25abff631084e13355604f71903df
parente3e2681d0ec28d6661fef6da76c9479049e2761c
stand/boot1.efi: use the bootonce dataset as root dataset

Before this change we would only pass the bootonce dataset name
to the environment for the next loader, while actually reading
the next stage loader from the 'bootfs' dataset, not the bootonce
dataset.

Another problem fixed by this change is a boot from a configuration
when bootonce attribute is present, but 'bootfs' property is not set.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D40389
stand/efi/boot1/zfs_module.c