Commit 355709c8 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci

bootstrap-install: Create the seed_mec home directory path with mkdir(1)

Create, with "-p", the entire home directory path of seed_mec user to make
sure the installation package will be able to add the user with the home
$SEED_MEC_HOME.
Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarDanilo Kiyoshi Simizu Yorinori <danilok@c3sl.ufpr.br>
Acked-by: default avatarTiago Rodrigo Kepe <trk08@c3sl.ufpr.br>
parent 9781ba32
......@@ -57,6 +57,10 @@ if ! groupadd -f seed_mec; then
exit 1
fi
# Create the directory path to make sure useradd(1) will be able to create the
# home for seed_mec user
mkdir -p "$(dirname ${SEED_MEC_HOME})"
# This is a temporary skel directory to avoid installing in the default skel
TMPSKEL=$(mktemp -d)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment