Commit Graph

  • 4e1975ff77 Exit on TERM master lordwelch 2020-09-01 23:07:13 -07:00
  • a9b2d89f29 Send USR1 on address change lordwelch 2020-08-22 10:42:13 -07:00
  • a8944ecb1a Propagate TERM signal to services lordwelch 2020-08-22 10:41:34 -07:00
  • 61e410ed9d Create service home dir lordwelch 2020-08-22 10:40:53 -07:00
  • 69200acf90 Implement NTP server from DHCP lordwelch 2020-08-22 10:36:12 -07:00
  • f60299f3ca Add an unauthenticated test endpoint lordwelch 2020-08-22 10:23:49 -07:00
  • 067330db55
    Honor https-port when redirecting (#79) andig 2021-01-08 09:10:39 +01:00
  • 97987794f9
    Don't redirect requests from localhost to HTTPS (#78) andig 2021-01-07 16:49:46 +01:00
  • 5fc5d0ab5d
    Load runtime port configuration from http(s)-port file (#77) andig 2021-01-06 22:27:29 +01:00
  • 5a84eb5921 fall back to mounting permanent storage as vfat if not ext4 Michael Stapelberg 2021-01-04 15:19:18 +01:00
  • caded46676
    gokrazy: import and use github.com/mdlayher/watchdog (#72) Matt Layher 2020-10-06 11:11:15 -04:00
  • f7c3cb7e0e GitHub actions: also exit early if gofmt reports syntax errors Michael Stapelberg 2020-08-01 09:48:00 +02:00
  • 38d36b6619 GitHub actions: fix gofmt check Michael Stapelberg 2020-08-01 09:25:52 +02:00
  • 11dacf4264 remote syslog: one Write() call per \n-terminated line Michael Stapelberg 2020-07-19 17:26:11 +02:00
  • a4c823dc2b
    Add kernel information to web UI header (#67) Matt Layher 2020-07-14 04:57:14 -04:00
  • 6739b59028
    website: add consrv to showcase (#64) Matt Layher 2020-06-29 18:04:45 -04:00
  • 985d2475dc POC: zstd support zstd Michael Stapelberg 2020-06-26 11:57:04 +02:00
  • fc121e1383 export Model() Michael Stapelberg 2020-06-26 11:56:51 +02:00
  • f16a76357f update: use crc32 for checksumming when the client requests it Michael Stapelberg 2020-06-26 11:03:54 +02:00
  • 28292f8e00 quickstart: update for new packer output Michael Stapelberg 2020-06-21 08:29:28 +02:00
  • 272a5324e3 status: fix template by plumbing through EEPROM variable Michael Stapelberg 2020-06-21 07:43:59 +02:00
  • 546057ad9b ntp: log a message after setting the clock Michael Stapelberg 2020-06-21 07:42:00 +02:00
  • b48c3767fa README: fix update instructions Michael Stapelberg 2020-06-20 13:27:37 +02:00
  • f1231063e5 README: update instructions from quickstart guide Michael Stapelberg 2020-06-20 13:25:58 +02:00
  • 5dbb772825 website: make quickstart module init a little easier to follow Michael Stapelberg 2020-06-20 13:21:54 +02:00
  • 2cbd3c9442 website: fix prototyping link Michael Stapelberg 2020-06-19 21:47:24 +02:00
  • 310a7447e0 website: add rpi4b to supported platforms Michael Stapelberg 2020-06-19 09:02:09 +02:00
  • c0759a418c website: pi 3 → pi 3 or 4 Michael Stapelberg 2020-06-19 08:58:39 +02:00
  • be1a525364 README: Pi 3 → Pi 3 or 4 Michael Stapelberg 2020-06-19 08:56:14 +02:00
  • 00caabe479 issue template: add gokrazy/rpi4b Michael Stapelberg 2020-06-19 08:55:13 +02:00
  • 0fa71a6018 display the EEPROM SHA256 hashes (shortened) Michael Stapelberg 2020-06-19 08:50:32 +02:00
  • c306d3cd69 move template parsing out of func init Michael Stapelberg 2020-06-17 09:13:44 +02:00
  • 1ec8cbf7d9 add userguide for GPIO Michael Stapelberg 2020-06-15 09:56:33 +02:00
  • 59d57578b9 add userguide entries for unencrypted wifi and tls Michael Stapelberg 2020-06-01 11:23:34 +02:00
  • f967cb6bb3 delete extra docs/ directory (oops) Michael Stapelberg 2020-06-01 11:23:09 +02:00
  • ad94ee5d4d rename GitHub action workflow to diskimage Michael Stapelberg 2020-05-31 23:23:41 +02:00
  • 848ce3c054 pull in latest gokrazy/internal Michael Stapelberg 2020-05-31 23:23:22 +02:00
  • 17bec15432
    Added proof of concept TLS support (#7) (#53) Janis Streib 2020-05-31 21:58:03 +02:00
  • a457d8e04a start a userguide, with an entry about remote syslog Michael Stapelberg 2020-05-31 21:17:01 +02:00
  • 9a6d5dfd7b import website into main repository Michael Stapelberg 2020-05-31 20:29:57 +02:00
  • 87609f10c7 switch from travis to GitHub actions Michael Stapelberg 2020-05-30 20:33:51 +02:00
  • 8c74716f04 pull in recent enough gokrazy/internal Michael Stapelberg 2020-05-30 19:05:15 +02:00
  • 2398e37f70 status: use partuuid-based path in mkfs instruction Michael Stapelberg 2020-05-30 18:47:48 +02:00
  • b93a58e5c8 status: print module info details Michael Stapelberg 2020-05-30 18:15:46 +02:00
  • 32f88999da set HOME=/perm/$basename when starting services Michael Stapelberg 2020-05-27 18:50:52 +02:00
  • 9e57e3cf2e dhcp: make network interface name configurable Michael Stapelberg 2020-05-27 08:24:50 +02:00
  • c2116a79ed README: FAT16B → SquashFS Michael Stapelberg 2020-05-25 18:56:08 +02:00
  • 7e02056689 status: include service status and GOARCH in HTTP headers Michael Stapelberg 2020-05-25 09:29:58 +02:00
  • 727ba0f371 serial console: also try /tmp/serial-busybox/ash Michael Stapelberg 2020-05-21 23:12:15 +02:00
  • f3445e01a9 fix switchRootPartition on non-PARTUUID installations Michael Stapelberg 2020-05-01 09:59:33 +02:00
  • 3a6c5f85d2 header: include model name on supported platforms Michael Stapelberg 2020-04-08 15:24:36 +02:00
  • 6bbd4a085c pull in new-enough version of gokrazy/internal Michael Stapelberg 2020-04-07 10:00:01 +02:00
  • 3c0f8141ee travis: switch to Go 1.14 Michael Stapelberg 2020-04-07 09:54:31 +02:00
  • 057fc9dcb0 add /update/features handler for feature negotiation Michael Stapelberg 2020-04-07 09:52:12 +02:00
  • ffc8928d2e update to new rootdev API Michael Stapelberg 2020-04-07 09:00:10 +02:00
  • 6beb2e16aa implement remote syslog as a platform feature Michael Stapelberg 2019-12-10 22:15:42 +01:00
  • 25d06ba514 gofmt GENERATED_bundled.go Michael Stapelberg 2019-10-19 22:41:59 +02:00
  • 09fbdb123e bundle bootstrap, bootstrap-table and jquery assets Michael Stapelberg 2019-11-09 09:21:47 +01:00
  • 520b8ca41d dhcp: use SetReadDeadline, not SetDeadline Michael Stapelberg 2019-03-21 09:16:44 +01:00
  • d5bd78d555 travis: test with go1.12 Michael Stapelberg 2019-03-04 17:47:55 +01:00
  • 107f6fe098 start /perm/sh if it exists upon any byte on the serial console Michael Stapelberg 2019-02-19 07:46:07 +01:00
  • 4af394b99e README: use sdx to prevent mistakes Michael Stapelberg 2019-02-07 14:39:40 +01:00
  • 7fe27df5ed listeners: support github.com/gokrazy/gdns, export IsInPrivateNet Michael Stapelberg 2019-01-16 21:01:01 +01:00
  • 856c5b62d4 dhcp: request domain name, too Michael Stapelberg 2019-01-01 17:17:02 +01:00
  • 25dc781a8e Set Access-Control-Allow-Origin header to load external CSS Michael Stapelberg 2018-12-26 16:15:14 +01:00
  • 2216841c80 travis: update to more recent Go version Michael Stapelberg 2018-11-21 08:49:51 +01:00
  • 3af32e1d14 dhcp: resolve a few TODOs in comments Michael Stapelberg 2018-11-21 08:46:16 +01:00
  • 14287515bc dhcp: switch to github.com/rtr7/dhcp4 Michael Stapelberg 2018-11-21 08:43:49 +01:00
  • a6ce446055 format GENERATED_bundled.go with newer gofmt Michael Stapelberg 2018-11-01 18:44:10 +01:00
  • 63803ab95e update listeners when netlink reports an address change Michael Stapelberg 2018-11-01 18:05:41 +01:00
  • 5fb3d517ed listeners: improve logging Michael Stapelberg 2018-11-01 18:04:09 +01:00
  • 99287f68e3 update rootRe for running in user-mode linux Michael Stapelberg 2018-11-01 17:54:23 +01:00
  • 389a515555 README: update to reflect quickstart Michael Stapelberg 2018-11-01 17:07:53 +01:00
  • b6086c6f88 reboot: use KexecFileLoad and KEXEC_* from golang.org/x/sys/unix (#42) Tobias Klauser 2018-10-05 18:05:53 +02:00
  • 1c16b3b4eb serve favicon.ico Michael Stapelberg 2018-07-15 18:32:46 +02:00
  • 504f06b15f issue template: add missing * Michael Stapelberg 2018-07-15 17:24:03 +02:00
  • 6ac0eb2ced add issue template asking for the hardware target Michael Stapelberg 2018-07-15 17:23:07 +02:00
  • fc8dd9e2f2 reboot: use cmdline from boot/cmdline.txt Michael Stapelberg 2018-07-15 10:40:19 +02:00
  • 9770d4408f move root device finding function to internal/rootdev Michael Stapelberg 2018-07-14 23:37:12 +02:00
  • d8206c507c /update/mbr: strip p suffix from mmcblk0p Michael Stapelberg 2018-07-13 23:53:46 +02:00
  • 835dae6a18 add randomd (carries entropy across restarts) Michael Stapelberg 2018-07-13 23:44:47 +02:00
  • 24c8ad07b5 streamRequestTo: call f.Sync() Michael Stapelberg 2018-07-13 23:16:26 +02:00
  • 0f8d40d7f6 add /update/mbr Michael Stapelberg 2018-07-12 09:27:32 +02:00
  • c74265523b implement XSRF/CSRF protection for /stop and /restart Michael Stapelberg 2018-06-25 18:38:08 +02:00
  • 7dc7a36757 supervise: refactor to use one HTTP handler Michael Stapelberg 2018-06-25 18:27:23 +02:00
  • 9a14ab0d8d dhcp: add note to prevent future mistakes Michael Stapelberg 2018-06-22 09:02:53 +02:00
  • 4a126f13af init+dhcp changes for Squashfs root file systems Michael Stapelberg 2018-06-21 23:21:51 +02:00
  • d1d355d840 listeners: treat interfacees named uplink* as public Michael Stapelberg 2018-06-18 09:52:48 +02:00
  • 59b99bc704 remove hard-coded mmcblk0 from all places Michael Stapelberg 2018-06-17 09:31:14 +02:00
  • 4f0e427025 reboot: use kexec where possible Michael Stapelberg 2018-06-17 08:54:44 +02:00
  • 91da7026f8 reboot: send SIGTERM to processes, wait for 1s Michael Stapelberg 2018-06-17 08:53:19 +02:00
  • 6c059494af ntp: set real-time clock (hwclock) if present Michael Stapelberg 2018-06-13 23:51:31 +02:00
  • 238bbfa55e init: update listeners when pressing <ENTER> on the serial console Michael Stapelberg 2018-06-12 22:22:47 +02:00
  • 34f12d9ada update: find root device instead of hard-coding /dev/mmcblk0p* Michael Stapelberg 2018-06-12 22:19:13 +02:00
  • 9063e4526a add hostname to title Michael Stapelberg 2018-05-17 09:11:44 +02:00
  • 6063608b2b update: introduce a /bootonly handler for bakery Michael Stapelberg 2018-05-17 09:08:25 +02:00
  • 50b9390a43 dhcp: simplify Utsname conversion (#36) Tobias Klauser 2018-03-29 12:09:08 +02:00
  • 5760e0f265 use GOKRAZY_UPDATE envvar to avoid exposing passwords in argv Michael Stapelberg 2018-03-29 11:59:54 +02:00
  • a470a80ae1 README: expand on the “changing init behavior” example Michael Stapelberg 2018-03-29 11:50:30 +02:00
  • b5d7cb2fcf add PublicInterfaceAddrs and display them on the status page Michael Stapelberg 2018-03-20 19:34:00 +01:00