mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist
PR: 208629 PR: 208568 Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks
This commit is contained in:
parent
6b5e33ba48
commit
b3f7b13945
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297713
@ -1256,6 +1256,8 @@ zfs_create_boot()
|
||||
f_dprintf "$funcname: Modifying directory permissions..."
|
||||
local dir
|
||||
for dir in /tmp /var/tmp; do
|
||||
f_eval_catch $funcname mkdir "$MKDIR_P" \
|
||||
$BSDINSTALL_CHROOT$dir || return $FAILURE
|
||||
f_eval_catch $funcname chmod "$CHMOD_MODE" 1777 \
|
||||
$BSDINSTALL_CHROOT$dir || return $FAILURE
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user