git: DragonFly_RELEASE_5_8 release: Mount tmpfs at /usr/local/etc only if exists for ISO
Aaron LI
aly at crater.dragonflybsd.org
Tue May 12 07:48:24 PDT 2020
commit d41d4995692c5b2a0595e5902041ea7c1faaf6b6
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/d41d4995692c5b2a0595e5902041ea7c1faaf6b6
--
DragonFly BSD source repository
More information about the Commits
mailing list