git: DragonFly_RELEASE_4_8 installer: Fix the "missing /var/run/sem" issues better.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Mar 19 08:37:27 PDT 2017


commit 2eaf5a41cd563a6a4919a04d104f69439d4b5675
Author: Sascha Wildner <saw at online.de>
Date:   Sun Mar 19 16:34:37 2017 +0100

    installer: Fix the "missing /var/run/sem" issues better.
    
    * Add -C to the tmpfs mount of /var/run on the USB image. This
      ensures that the USB image itself keeps the ppp/, sem/, and
      wpa_supplicant/ dirs under /var/run.
    
    * Since we do not cpdup /var/run explicitly during installation
      it ends up empty on the installed system. Ensure that it has
      the subdirectories it needs by running mtree on /var.
    
    * It looks like the 1e5a476188185cf1161f4fe3ffc060465562ef0d
      change could be reverted because the issue never was that
      /var/run/sem wasn't existing _after_ make upgrade. The mtree
      in the preceding installworld takes care of it. It doesn't
      hurt either, so just shuffle the commands a bit downwards.

Summary of changes:
 etc/Makefile                                     | 4 ++--
 nrelease/Makefile                                | 2 +-
 share/installer/cmdnames.conf                    | 1 +
 usr.sbin/installer/dfuibe_installer/fn_install.c | 6 ++++++
 4 files changed, 10 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2eaf5a41cd563a6a4919a04d104f69439d4b5675


-- 
DragonFly BSD source repository


More information about the Commits mailing list