100 Commits
Author SHA1 Message Date
Michael Stapelberg a4a45a2014 go get all dependencies, re-enable KVM on GitHub Actions 2026-07-03 08:12:18 +02:00
Michael Stapelberg 2f30141aab website: re-generate for previous commit 2026-06-25 19:32:06 +02:00
Michael Stapelberg efdb49ac88 supervise: only set $PATH if not already set
fixes https://github.com/gokrazy/gokrazy/issues/371
2026-06-01 20:09:05 +02:00
Michael Stapelberg 8e3335fa80 re-generate website for previous commit 2026-05-18 08:31:37 +02:00
Michael Stapelberg c38c3134b8 re-generate website for previous commit 2026-04-18 10:56:48 +02:00
Michael Stapelberg 599a48c65e supervise: set $PATH to /user:/gokrazy so that binaries can be found 2026-04-18 10:56:39 +02:00
Michael Stapelberg 791851666c re-generate website for previous commit 2026-02-18 08:40:04 +01:00
Michael Stapelberg d86e4df235 website: minio was archived on February 13, 2026 2026-02-18 08:39:21 +01:00
Michael Stapelberg 0648d53e45 re-generate website for previous commit 2026-01-04 19:11:21 +01:00
Michael Stapelberg 7e1224117f re-generate website for previous commit 2025-12-28 09:32:38 +01:00
Michael Stapelberg 86b997012d platforms: community kernel supports Pi Zero W, too
fixes https://github.com/gokrazy/gokrazy/issues/346
2025-12-28 09:31:31 +01:00
Michael Stapelberg 9c06b898c1 status: display running EEPROM bootloader build-timestamp
This is more user-friendly compared to the raw SHA256 checksums.
Those can still be obtained by querying the status via JSON.

fixes https://github.com/gokrazy/gokrazy/issues/343
2025-11-20 08:13:35 +01:00
Michael Stapelberg 7f084f0ff6 website: re-generate for previous commit 2025-11-20 07:54:24 +01:00
Michael Stapelberg ac2b425a2f re-generate website for previous commit 2025-11-18 07:06:41 +01:00
Michael Stapelberg 90e467012e quickstart: update for Pi 5
fixes #340
2025-11-18 07:06:25 +01:00
Michael Stapelberg c374a09ccb re-generate website for previous commit 2025-11-17 08:51:43 +01:00
Michael Stapelberg 4d5fb66245 re-generate website for previous commit 2025-11-16 20:05:25 +01:00
Michael Stapelberg 226f6b3cd0 website: document BootloaderExtraEEPROM in instance config
related to https://github.com/gokrazy/gokrazy/issues/338
2025-11-16 20:05:24 +01:00
Michael Stapelberg db72067ca2 website: add userguide article about NVMe disks
related to https://github.com/gokrazy/gokrazy/issues/267
2025-11-16 20:05:24 +01:00
Michael Stapelberg 8d22ce0505 re-generate website for previous commit 2025-11-16 20:05:24 +01:00
Michael Stapelberg aa0ee10691 website: switch from deprecated 'learn' theme to maintained relearn 2025-11-16 20:05:24 +01:00
Michael Stapelberg 117fd1f6c6 fix displaying firmware EEPROM version on Pi 5 with rpi5-eeprom
The rpi5-eeprom package no longer contains vl805, which is Pi 4-specific.

related to https://github.com/gokrazy/gokrazy/issues/332
2025-11-16 09:56:34 +01:00
Michael Stapelberg 63b2aa82de fix displaying firmware EEPROM version on Pi 5
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
2025-11-16 09:05:06 +01:00
Michael Stapelberg db4d63aeba go.mod: update to latest mdlayher/packet 2025-11-16 08:58:11 +01:00
Michael Stapelberg baeae7659a web interface: label the two SHA256 EEPROM checksums 2025-11-16 08:55:08 +01:00
Michael Stapelberg 9fe4329a7d testutils: increase integration test timeout for GitHub Actions
Thus far, 20 seconds was sufficient, but now tests are failing:

2025/07/13 09:33:31 QEMU command line: qemu-system-x86_64 -monitor unix:/tmp/vmtest1619793134/monitor.socket -serial unix:/tmp/vmtest1619793134/console.socket -no-reboot -nographic -display none -global driver=cfi.pflash01,property=secure,value=on -drive if=pflash,format=raw,unit=0,file=/usr/share/OVMF/OVMF_CODE_4M.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=/usr/share/OVMF/OVMF_VARS_4M.fd,readonly=on -nodefaults -m 4G -smp 8 -net none -drive file=/tmp/TestUEFIBoot3308480078/001/gokrazy.img,format=raw
[…]
2025/07/13 09:33:49 listeners.go:118: now listening on [::1]:80
    testutils.go:147: EOF
2025/07/13 09:33:51 monitor: write unix /tmp/vmtest1619793134/monitor.socket->@: write: broken pipe
2025/07/13 09:33:51 Got error while waiting for Qemu process completion: signal: killed
2025-07-13 11:37:10 +02:00
Michael Stapelberg 24fb3d8a29 website: re-generate for previous commit 2025-06-29 10:56:38 +02:00
Michael Stapelberg beb8e56d08 showcase: move relax switch from third-party to written-for-gokrazy 2025-06-29 10:56:35 +02:00
Michael Stapelberg 8916805aa0 re-generate website for previous commit 2025-05-20 23:11:31 +02:00
Michael Stapelberg 50475b8860 instance-config: document KernelExtraArgs
fixes https://github.com/gokrazy/gokrazy/issues/312
2025-05-20 23:11:23 +02:00
Michael Stapelberg e01459ea62 only stream stdout+stderr when the tab is visible
related to https://github.com/gokrazy/gokrazy/issues/305
2025-04-13 22:06:49 +02:00
Michael Stapelberg 3676e79fb6 stream stdout and stderr over the same connection
related to https://github.com/gokrazy/gokrazy/issues/305
2025-04-13 19:20:26 +02:00
Michael Stapelberg 5d7177d86b move status log function into its own file 2025-04-13 18:40:44 +02:00
Michael Stapelberg 181586678f move status JavaScript into its own file 2025-04-13 18:39:17 +02:00
Michael Stapelberg 8bbe013773 re-generate website for previous commmit 2025-03-30 11:24:04 +02:00
Michael Stapelberg 0a2ad2d53b website: instance-config: document GoBuildEnvironment
Also unify the GoBuildTags and GoBuildFlags examples.
2025-03-30 11:23:40 +02:00
Michael Stapelberg 24892b7c3c go.mod: bump language version to go1.24 2025-03-13 08:36:08 +01:00
Michael Stapelberg b95f1943f6 go.{mod,sum}: pull in latest golang.org/x/net 2025-03-13 08:33:24 +01:00
Michael Stapelberg 29f3a3f118 Revert "status: properly clean up EventSource connections"
This reverts commit c7823aff1a.

This “fix” introduced a new problem: when navigating in the
back/forward cache, the EventSource connection would not resume.
2025-03-07 16:52:31 +01:00
Michael Stapelberg 9874e1e6d7 re-generate website for previous commit 2025-02-27 20:39:18 +01:00
Michael Stapelberg f68947708b rsync-backups: install gokr-rsync with basename rsync
This makes using gokr-rsync via SSH (command) easier:
You won’t need to specify --rsync-path=gokr-rsync anymore.
2025-02-27 20:38:23 +01:00
Michael Stapelberg 69f015698c re-generate website for previous commit 2025-02-27 20:35:19 +01:00
Michael Stapelberg 267d2ac640 wait: implement WaitFor("net-online")
tested in a VM:

2025/02/23 10:42:10 waiting for net-online
2025/02/23 10:42:10 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:56467->[::1]:53: read: connection refused
2025/02/23 10:42:11 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:36567->[::1]:53: read: connection refused
2025/02/23 10:42:12 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:36773->[::1]:53: read: connection refused
2025/02/23 10:42:13 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:34451->[::1]:53: read: connection refused
2025/02/23 10:42:14 waiting for net-online: lookup(gokrazy.org): lookup gokrazy.org on [::1]:53: read udp [::1]:51114->[::1]:53: read: connection refused
2025/02/23 10:42:15 done waiting after 5.030385208s
2025-02-23 10:42:56 +01:00
Michael Stapelberg a9154f87e2 wait: implement WaitFor("net-route")
related to https://github.com/gokrazy/gokrazy/issues/168

fixes https://github.com/gokrazy/gokrazy/issues/21
2025-02-23 10:33:23 +01:00
Michael Stapelberg 85743f0dee wait: re-shuffle functions: WaitFor() is the best entrypoint 2025-02-23 10:12:12 +01:00
Michael Stapelberg 23c47dcb0c do not read any password file when /etc/gokr-pw.txt is missing
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.
2025-02-23 09:57:27 +01:00
Michael Stapelberg d4899e240e gokrazy: introduce WaitFor("clock") as replacement for WaitForClock
related to https://github.com/gokrazy/gokrazy/issues/168
2025-02-22 11:04:27 +01:00
Michael Stapelberg 61d288a38b re-generate website for previous commit 2025-02-22 10:25:19 +01:00
Michael Stapelberg 4039e09b17 rsync-backups: gokrazy/rsync v0.2.0+ ships cmd/gokr-rsync (no d)
We still use the gokr-rsyncd name for the config file,
which is consistent with how tridge rsync does it: rsyncd.conf(5).
2025-02-22 10:24:05 +01:00
Michael Stapelberg 70965d2947 GitHub Actions: bump action versions 2025-02-22 07:09:54 +01:00
Michael Stapelberg 9285793115 /status: do not link the service name
related to https://github.com/gokrazy/gokrazy/issues/295
2025-02-04 18:50:25 +01:00
Michael Stapelberg b3656e1381 HTTPS redirect: add missing net.SplitHostPort()
The http.Request.Host field can contain a port.

fixes https://github.com/gokrazy/tools/issues/82
2025-01-28 20:52:18 +01:00
Michael Stapelberg 82d78edac8 website: re-generate for previous commit 2025-01-26 22:57:18 +01:00
Michael Stapelberg a71bb0d14d instance-config: document environment config
related to https://github.com/gokrazy/gokrazy/issues/191
2025-01-26 22:56:45 +01:00
Michael Stapelberg 730ef75b0f website: re-generate for previous commit 2025-01-21 19:48:34 +01:00
Michael Stapelberg 3e52cbb776 fix integration/uefiboot with newer OVMF 2024-12-22 18:05:45 +01:00
Michael Stapelberg c7823aff1a status: properly clean up EventSource connections
This should fix occasional hangs when navigating between pages.

I did not expect this behavior from browsers. I would have expected
all pending requests of a page to be terminated when the user
navigates to a different page. Instead, one needs to explicitly
close() EventSource connections.
2024-12-22 17:14:40 +01:00
Michael Stapelberg 3fd48c2b93 re-generate website for previous commit 2024-11-06 19:32:16 +01:00
Michael Stapelberg e3a135f259 website: docker-containers: remove unnecessary tmpfs mount
(This is an optional step.)
2024-11-06 19:31:45 +01:00
Michael Stapelberg 4015d44102 website: re-generate for previous commit 2024-09-09 18:01:43 +02:00
Michael Stapelberg ab7a3e3f04 website: add configuration → dhcp 2024-09-09 18:01:25 +02:00
Michael Stapelberg 76f798eace integration test: switch from gokr-packer to gok
By now, all users should have moved over to the gok CLI.
2024-08-18 21:30:48 +02:00
Michael Stapelberg 6306c25c43 go.mod: bump Go version to 1.22 2024-08-18 17:02:33 +02:00
Michael Stapelberg 676865a4e8 website: re-generate for previous commit 2024-08-02 16:48:48 +02:00
Michael Stapelberg 265ba9a87b platforms: fix amd64/arm64 kernel URL
fixes https://github.com/gokrazy/gokrazy/issues/263
2024-08-02 16:48:37 +02:00
Michael Stapelberg dc0e5bcee4 website: re-generate for previous commit 2024-08-02 16:46:38 +02:00
Michael Stapelberg 0704f8c63e platforms: link to now-available generic amd64/arm64 kernels 2024-08-02 16:46:19 +02:00
Michael Stapelberg 1d9057cee9 re-generate website for previous commit 2024-07-21 09:53:52 +02:00
Michael Stapelberg 88b3ab8b2e instance-config: update options docs
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-21 09:53:00 +02:00
Michael Stapelberg 476f34dea4 re-generate website for previous commit 2024-07-19 18:44:23 +02:00
Michael Stapelberg 181f1a246f mount: implement locating device by UUID= 2024-07-19 18:44:13 +02:00
Michael Stapelberg 527e712756 display extra mount devices under “storage” section
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:28:45 +02:00
Michael Stapelberg 51607e0458 mountDevices: print which PARTUUIDs are not matched
This makes it easier to obtain the required PARTUUID:
just put anything and check the log for the correct one.

related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:18:12 +02:00
Michael Stapelberg 09d19e23fb mountDevices: retry every 5s after the first 10 attempts
This reduces log spam when the device to mount never appears.

related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 18:18:00 +02:00
Michael Stapelberg 7e1b8251bf website: re-generate for previous commit 2024-07-19 17:19:33 +02:00
Michael Stapelberg 576c2a160a mountconfig: fix description
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 17:19:28 +02:00
Michael Stapelberg d1a7927a5f website: re-generate for previous commit 2024-07-19 17:12:30 +02:00
Michael Stapelberg 84eb6a4882 instance-config: document mount configuration
related to https://github.com/gokrazy/gokrazy/issues/236
2024-07-19 17:12:09 +02:00
Michael Stapelberg dcfe3d402e website: re-generate for previous commit 2024-07-08 08:54:57 +02:00
Michael Stapelberg 05f406de99 re-generate website for previous commit 2024-06-23 11:42:37 +02:00
Michael Stapelberg 6ea61fedd0 website: document Pi 5 as supported
closes https://github.com/gokrazy/gokrazy/issues/223
2024-06-23 11:42:14 +02:00
Michael Stapelberg 5a499f4f49 ISSUE_TEMPLATE: add rpi5b
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-10 08:48:13 +02:00
Michael Stapelberg a6a1bee62a re-generate website for previous commit 2024-06-10 08:47:25 +02:00
Michael Stapelberg bf816dc3ae platforms: explain how raspi5b is tested
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-10 08:47:06 +02:00
Michael Stapelberg b48fd26478 halt: call unix.Reboot in a way that compiles on 32 bit
related to https://github.com/golang/go/issues/9584

closes https://github.com/gokrazy/gokrazy/pull/266
2024-06-06 21:31:59 +02:00
Michael Stapelberg d8be299c82 re-generate website for previous commit 2024-06-05 21:04:11 +02:00
Michael Stapelberg fdfb907b13 platforms: update with measurements for the Pi 5
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-05 21:03:54 +02:00
Michael Stapelberg ee9d56c794 wire up SIGTERM, SIGUSR1, SIGUSR2 to reboot, halt, poweroff
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-04 19:30:53 +02:00
Michael Stapelberg cda8d13b04 boot: automatically load pwm_fan module for Pi 5
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-03 21:15:30 +02:00
Michael Stapelberg fa5c248e2e re-generate website for previous commit 2024-05-22 18:58:29 +02:00
Michael Stapelberg e6b99785b4 docker-containers: remove now-unnecessary mountVar
use:

% gok get github.com/gokrazy/gokrazy

to pick up creation of /perm/var and /perm/var/run in commit
https://github.com/gokrazy/gokrazy/commit/ae40eb363644b435989437f6dbdcf19a276ec3b6

and:

% go install github.com/gokrazy/tools/cmd/gok@main

to pick up creation of /var as a symlink to /perm/var in commit
https://github.com/gokrazy/tools/commit/04de7ab9941f9416053b6270a4c80226c00e7844
2024-05-22 18:55:23 +02:00
Michael Stapelberg 91ba68a01f re-generate website for previous commit 2024-05-11 21:33:18 +02:00
Michael Stapelberg d63f376438 website: wordsmith the introduction a bit 2024-05-11 21:33:03 +02:00
Michael Stapelberg 08761c1403 boot: mount configured devices
related to https://github.com/gokrazy/gokrazy/issues/236
2024-05-10 19:01:37 +02:00
Michael Stapelberg 0783bdf5f0 bump language version to go 1.21 (oldest supported release) 2024-05-10 17:47:19 +02:00
Michael Stapelberg ae40eb3636 boot: create /perm/var to make /var symlink work 2024-05-10 17:38:08 +02:00
Michael Stapelberg 1f6ed3eb15 re-generate website for previous commit 2024-04-13 08:50:06 +02:00
Michael Stapelberg cbb1cdfc7d re-generate website for previous commit 2024-02-28 08:49:37 +01:00
Michael Stapelberg fc2f3ed947 re-generate website for previous commit 2024-02-24 16:27:47 +01:00
Michael Stapelberg 7fca4d5ddd re-generate website for previous commit 2024-02-21 08:02:25 +01:00