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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 25 2023, 8:33 PM
Parents
rG895cb689d310: zfs_clone_range should return a descriptive error codes
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG95649854ba7c: dracut: support mountpoint=legacy for root dataset (authored by Rafael Kitover <rkitover@gmail.com>).Aug 25 2023, 8:33 PM