]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
contrib: dracut: zfs-{rollback,snapshot}-bootfs: explicit snapname fix
authorgregory-lee-bartholomew <gregory.lee.bartholomew@gmail.com>
Wed, 29 Jun 2022 23:56:04 +0000 (18:56 -0500)
committerGitHub <noreply@github.com>
Wed, 29 Jun 2022 23:56:04 +0000 (16:56 -0700)
commit2d434e8ae4139ce14a1b058839a144bf952e79ea
tree0a5f8306283a83d23eedc197e98eb0bdf1082c6e
parent07f2793e869196fcbcd5057d9ada377674262fe3
contrib: dracut: zfs-{rollback,snapshot}-bootfs: explicit snapname fix

Due to a missing semicolon on the ExecStart line, it wasn't possible
to specify the snapshot name on the bootfs.{rollback,snapshot}
kernel parameters if the boot dataset name was obtained from the
root=zfs:... kernel parameter.

Reviewed-by: Ahelenia ZiemiaƄska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
Closes #13585
contrib/dracut/90zfs/zfs-rollback-bootfs.service.in
contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in