HomeFreeBSD

When be_activate() turns on a new boot environment, it always deactivates

Description

When be_activate() turns on a new boot environment, it always deactivates
the current one first. And if it fails to do so, it abandons activation.
However, with the new bootonce feature, there is a legitimate case when
a pool doesn't have "bootfs" property set. Check for this case before
calling be_deactivate().

Reviewed by: kevans

Details

Provenance
glebiusAuthored on Jan 8 2021, 5:23 PM
Parents
rG14a16fd3e7ec: build: add WITHOUT_CLEAN workaround for 821aa63a0940
Branches
Unknown
Tags
Unknown