Skip to content
Permalink
Browse files

Add /usr/sbin

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 28, 2019
1 parent 5dd65f9 commit daa70901b9900b8dfc46930c6a716c6fd25f7f33
Showing with 8 additions and 1 deletion.
  1. +8 −1 nems-build.sh
@@ -21,10 +21,14 @@ if [[ ! -d /var/log/nems ]]; then
mkdir /var/log/nems
fi

# If /sbin is not in PATH, add it (bug in Buster)
# If /sbin is not in PATH, add it (eg., halt, reboot)
if [[ ! $PATH == *"/sbin"* ]]; then
export PATH=$PATH:/sbin
fi
# And again for /usr/sbin (eg., dpkg-reconfigure)
if [[ ! $PATH == *"/usr/sbin"* ]]; then
export PATH=$PATH:/usr/sbin
fi


# Detect hardware
@@ -154,6 +158,9 @@ rm -f /etc/timezone
rm -f /etc/localtime
dpkg-reconfigure -f noninteractive tzdata

echo "Run manually parts"
exit

echo "------------------------------"
# Run the scripts in the build folder
run-parts --exit-on-error -v build

0 comments on commit daa7090

Please sign in to comment.
You can’t perform that action at this time.