git: nrelease: Use part-by-label to identify root in .img
    Aaron LI 
    aly at crater.dragonflybsd.org
       
    Thu Feb 28 07:38:47 PST 2019
    
    
  
commit 3ac648903e9d68df99a5051908ca1c1c8f9a651f
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Feb 28 15:59:00 2019 +0800
    nrelease: Use part-by-label to identify root in .img
    
    Previously, the DragonFly .img hardcoded "da8" as the USB device, but
    this may not be the case on some systems and requires user interaction
    to boot.
    
    Now that DragonFly has "/dev/part-by-label", use this new mechanism
    (i.e., the label/name of the disklabel64(5) slice in the .img file) to
    better identify the USB device with DragonFly installation image on it.
    The label name is "DragonFly_${KERNCONF}" by default.
Summary of changes:
 nrelease/Makefile | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3ac648903e9d68df99a5051908ca1c1c8f9a651f
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list