The Pi 5 firmware does not rename recovery.bin anymore,
so the check we did to figure out if the updated succeeded
only works on the Pi 4.
related to https://github.com/gokrazy/gokrazy/issues/332
See the comment for rationale. This makes it harder to take over a
gokrazy instance when having write access to /perm.
Whether the password should be read from /perm at all is another
valid question to ask. I am not sure anyone has such a setup?
If you are reading this and you do, please e-mail me.
On current kernels:
/tmp/breakglass3180421852 # ls -l /dev/serial0
lrwxrwxrwx 1 0 0 12 Jan 1 1970 /dev/serial0 -> /dev/ttyAMA0
On future kernels when Bluetooth is enabled:
/tmp/breakglass1740469836 # ls -l /dev/serial0
lrwxrwxrwx 1 0 0 10 Jan 1 1970 /dev/serial0 -> /dev/ttyS0
related to https://github.com/gokrazy/gokrazy/issues/49
gokrazy.go: added a NewWaitForClockService() which enables waitForClock configuration
supervise.go: added waitForClock boolean in service{} and changed the behaviour from environment variable to flag
Signed-off-by: Darshil Chanpura <darshil@thatwebsite.xyz>
This allows running “gok run” for prototyping, even for software you have not
included in the currently running gokrazy image.
fixes https://github.com/gokrazy/gokrazy/issues/88
To configure, run the following command in an interactive shell (e.g. via
breakglass, or when mounting the permanent partition of the SD card on the
host):
mkdir /perm/remote_syslog
echo 10.0.0.76:514 > /perm/remote_syslog/target
I recommend using a (static) IP address for increased reliability, so that
remote syslog works even when DNS does not.
fixes#50
We can do away with a bunch of hacks now, but we’ll keep them around for a
little while to make updates easier (i.e. to boot with old and new gokr-packer
versions, just in case people don’t update both at the same time).
This is useful when the network doesn’t come up correctly: you can connect a
network cable between your computer and the gokrazy machine, press <ENTER> on
the serial console and connect to gokrazy via its IPv6 link-local address (to
find the address, use ping6 ff02::1%eth0).