Skip to content

Commit

Permalink
Check for CONFIG_NAMESPACES availability
Browse files Browse the repository at this point in the history
It is available as expected on kernel 4.4.13-ntc-mlc
The problematic version might have been an older one.

Closes: hadess#15
  • Loading branch information
hadess committed Jul 15, 2017
1 parent 729d91e commit e4e88c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ set -e
# Debug
# set -x

# More early checks
if ! grep -q CONFIG_NAMESPACES /boot/config-$(uname -r) ; then
echo "The kernel used doesn't seem to support namespaces, make sure the CHIP has been upgraded" 1>&2
exit 1
fi

# Update, install the necessary plugins

apt-get update
Expand Down

0 comments on commit e4e88c3

Please sign in to comment.