mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Improved architecture test
Update changelog
This commit is contained in:
parent
35b44f1615
commit
7529c44d53
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user