git: installer: Fix mapper name generation for encrypted installation.
swildner at crater.dragonflybsd.org
Sun Aug 13 03:09:29 PDT 2017
Author: Sascha Wildner <saw at online.de>
Date: Sun Aug 13 11:54:42 2017 +0200
installer: Fix mapper name generation for encrypted installation.
fn_mapper_name() is supposed to take the mountpoint name, not the
This actually broke the install in environments where no /dev/serno/...
device was available and both root and /build were selected for
encrypting because the device name would never contain a '/' and so
the mapper name 'root' was returned for both.
Summary of changes:
usr.sbin/installer/dfuibe_installer/fn_configure.c | 6 +++---
usr.sbin/installer/dfuibe_installer/fn_install.c | 12 ++++++------
usr.sbin/installer/dfuibe_installer/fn_subpart_hammer.c | 4 ++--
usr.sbin/installer/dfuibe_installer/fn_subpart_ufs.c | 4 ++--
4 files changed, 13 insertions(+), 13 deletions(-)
DragonFly BSD source repository
More information about the Commits