mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Fix NOOBS config keyboard setup
This commit is contained in:
parent
ff68394813
commit
4de44924cd
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,16 +1,14 @@
|
|||||||
raspi-config (20170714) stretch; urgency=medium
|
raspi-config (20170714) stretch; urgency=medium
|
||||||
|
|
||||||
|
[Simon Long]
|
||||||
* Autologin operations now all use current user rather than defaulting to pi
|
* Autologin operations now all use current user rather than defaulting to pi
|
||||||
* initd support removed
|
* initd support removed
|
||||||
|
[Serge Schneider]
|
||||||
-- Simon Long <simon@raspberrypi.org> Fri, 14 Jul 2017 10:26:23 +0100
|
|
||||||
|
|
||||||
raspi-config (20170712) stretch; urgency=medium
|
|
||||||
|
|
||||||
* Add pi model as backtitle
|
* Add pi model as backtitle
|
||||||
* Define memory split units
|
* Define memory split units
|
||||||
|
* Fix NOOBS config keyboard setup
|
||||||
|
|
||||||
-- Serge Schneider <serge@raspberrypi.org> Tue, 11 Jul 2017 12:20:26 +0100
|
-- Serge Schneider <serge@raspberrypi.org> Fri, 14 Jul 2017 12:34:21 +0100
|
||||||
|
|
||||||
raspi-config (20170711) stretch; urgency=medium
|
raspi-config (20170711) stretch; urgency=medium
|
||||||
|
|
||||||
|
@ -1342,7 +1342,8 @@ EOF
|
|||||||
printf "Setting keyboard layout to %s based on os_config.json from NOOBS. May take a while\n" "$NOOBSKEYBOARD"
|
printf "Setting keyboard layout to %s based on os_config.json from NOOBS. May take a while\n" "$NOOBSKEYBOARD"
|
||||||
sed -i /etc/default/keyboard -e "s/^XKBLAYOUT.*/XKBLAYOUT=\"$NOOBSKEYBOARD\"/"
|
sed -i /etc/default/keyboard -e "s/^XKBLAYOUT.*/XKBLAYOUT=\"$NOOBSKEYBOARD\"/"
|
||||||
dpkg-reconfigure -f noninteractive keyboard-configuration
|
dpkg-reconfigure -f noninteractive keyboard-configuration
|
||||||
invoke-rc.d keyboard-setup start
|
setupcon -k --force
|
||||||
|
udevadm trigger -p ID_INPUT_KEY=1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user