Skip to content
Permalink
Browse files

No Cockpit for Pi Zero/1

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 18, 2019
1 parent d289fcd commit a314533bec270de8c6de34453fc425a43f1ad060
Showing with 9 additions and 0 deletions.
  1. +9 −0 build/170-cockpit
@@ -1,4 +1,11 @@
#!/bin/bash

platform=$(/usr/local/bin/nems-info platform)
if [[ $platform = "0" ]] ||
[[ $platform = "1" ]]; then
echo "Incompatible SBC. Leaving Cockpit off."
else

# Update *before* adding Stretch Backports
apt update
# Add the Stretch Backports repository
@@ -36,3 +43,5 @@
# Install Cockpit
apt update
apt -t stretch-backports -y install cockpit

fi

0 comments on commit a314533

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