HomeFreeBSD

dracut: support mountpoint=legacy for root dataset

Description

dracut: support mountpoint=legacy for root dataset

Support mountpoint=legacy for the root dataset in the dracut zfs support
scripts.

mountpoint=/ or mountpoint=/sysroot also works.

Change zfs-env-bootfs.service to add zfsutil to BOOTFSFLAGS only for
root datasets with mountpoint != legacy.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ahelenia ZiemiaƄska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Closes #15149

Details

Provenance
Rafael Kitover <rkitover@gmail.com>Authored on Aug 8 2023, 4:38 PM
GitHub <noreply@github.com>Committed on Aug 8 2023, 4:38 PM
Parents
rG019dea0a5585: zfs_clone_range should return a descriptive error codes
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGb8c9070d0944: dracut: support mountpoint=legacy for root dataset (authored by Rafael Kitover <rkitover@gmail.com>).Aug 8 2023, 4:38 PM