Skip to content
Permalink
Browse files

Fix raspi-config on Build 3

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 24, 2019
1 parent 45d1d6d commit f26c53dba2b201e48f338184486b75d63fa01e07
Showing with 14 additions and 0 deletions.
  1. +14 −0 build/160-rpi-raspi-config
@@ -0,0 +1,14 @@
#!/bin/bash
echo $0 > /var/www/html/userfiles/nems-build.cur

platform=$(/usr/local/bin/nems-info platform)

if [[ $platform < 10 ]]; then
if [ ! $(dpkg-query -W -f='${Status}' raspi-config 2>/dev/null | grep -c "ok installed") -eq 1 ]; then
wget -O /tmp/raspi-config.deb http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20180406+1_all.deb
apt -y install libnewt0.52 parted triggerhappy
apt install -fy
dpkg -i /tmp/raspi-config.deb
rm -f /tmp/raspi-config.deb
fi
fi

0 comments on commit f26c53d

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