git: DragonFly_RELEASE_4_8 installer: Fix mapper name generation for encrypted installation.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Aug 13 03:09:33 PDT 2017


commit 49cd743be136630cd5503cbb0226c580c2f1b0d9
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
    device name.
    
    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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/49cd743be136630cd5503cbb0226c580c2f1b0d9


-- 
DragonFly BSD source repository



More information about the Commits mailing list