git: release: Mount tmpfs at /usr/local/etc only if exists for ISO

Aaron LI aly at crater.dragonflybsd.org
Tue May 12 07:53:08 PDT 2020


commit a4527c0f738aaa54419ce99ae3575f8440053a63
Author: Aaron LI <aly at aaronly.me>
Date:   Tue May 12 22:38:34 2020 +0800

    release: Mount tmpfs at /usr/local/etc only if exists for ISO
    
    For an ISO release built with the 'nopkgs' option, it doesn't have the
    '/usr/local/etc' directory.  Thus the boot process would fail because it
    cannot mount tmpfs at the non-existent directory '/usr/local/etc'.
    
    Fix this issue by checking the existence of '/usr/local/etc' before
    appending the corresponding entry to the ISO's fstab.

Summary of changes:
 nrelease/Makefile       | 6 +++++-
 nrelease/root/etc/fstab | 1 -
 2 files changed, 5 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a4527c0f738aaa54419ce99ae3575f8440053a63


-- 
DragonFly BSD source repository



More information about the Commits mailing list