Improved architecture test

Update changelog
This commit is contained in:
Serge Schneider 2017-12-01 09:01:38 +00:00
parent 35b44f1615
commit 7529c44d53
2 changed files with 16 additions and 2 deletions

10
debian/changelog vendored
View File

@ -1,3 +1,13 @@
raspi-config (20171127) stretch; urgency=medium
* Allow entering SSID and passphrase (#68)
* Console keyboard layout changes effective immediately (#67)
* Formatting fixes (#70)
* Add non-interactive timezone, locale and keyboard configuration
* Modify architecture test for piserver
-- Simon Long <simon@raspberrypi.org> Mon, 27 Nov 2017 10:14:37 +0000
raspi-config (20170926) stretch; urgency=medium
* Add option to enable predictable network interface names

View File

@ -9,8 +9,12 @@ BLACKLIST=/etc/modprobe.d/raspi-blacklist.conf
CONFIG=/boot/config.txt
is_pi () {
grep -q "^model name\s*:\s*ARMv" /proc/cpuinfo
return $?
ARCH=$(dpkg --print-architecture)
if [ "$ARCH" = "armhf" ] ; then
return 0
else
return 1
fi
}
if is_pi ; then