I am developing a replacement for the /sbin/init
process that will run 1 time and then remove itself from the system. During development I need to be able to do some debugging. I have no SSH (or network, or even systemd
for that matter). I cannot change the locale and reboot. I find it hard to believe that the only option is for me to buy a GB keyboard.
Currently, this keyboard is connected to the RPi.
Requirements
- Type a
|
character - No changes to the filesystem
- Work with a standard US keyboard
- Work with the latest Raspbian Lite (unmodified, as distributed)
- This appears to be an issue with the GB locale
Update
https://github.com/RichardBronosky/pi-init2 now works and is totally awesome!
Raspberry Pi Pre Init
A program which lets you set up a Raspberry Pi solely by writing to the /boot partition (i.e. the one you can write from most computers!).
This allows you to distribute a small .zip file to set up a Raspberry Pi to do anything. You tell the user to unzip it over the top of the Pi's boot partition - the system can set itself up perfectly on the first boot. You no longer have to host entire distrobution images (like RetroPie).
~
and\
are those of a US keyboard rather than a GB. – Bruno Bronosky Mar 21 '18 at 19:05localectl status
. Of course, computers have no idea what characters are drawn on physical keys or what stickers are put on them. – Dmitry Grigoryev Mar 22 '18 at 09:50