35 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 db4d63aeba go.mod: update to latest mdlayher/packet 2025-11-16 08:58:11 +01:00
dependabot[bot] cc835e3b7f build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#309)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 16:26:46 +02:00
Michael Stapelberg b95f1943f6 go.{mod,sum}: pull in latest golang.org/x/net 2025-03-13 08:33:24 +01:00
dependabot[bot] bd0bb5f1d0 build(deps): bump golang.org/x/net from 0.23.0 to 0.33.0 (#302)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 07:14:09 +01:00
Anup Chenthamarakshan d356763678 Bump gokrazy/internal (#271)
…to pick up changes to deviceconfig
2024-07-04 17:40:08 +02:00
Brad Fitzpatrick 6826c723ab Only permit HTTP access over unix socket when password unset (#268)
Updates gokrazy/gokrazy#265

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2024-06-29 16:20:36 +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
dependabot[bot] d65536c20b build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#259)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 19:20:22 +02:00
dependabot[bot] 0dcab4a1b8 build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 (#226)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 08:07:54 +02:00
Michael Stapelberg 23115bd89a listen for power button events and power off
fixes #142
2023-03-07 20:43:05 +01:00
dependabot[bot] 254af2bf3c build(deps): bump golang.org/x/net (#175)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220225172249-27dd8689420f to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 16:30:28 +01:00
dependabot[bot] 2b8825ba95 build(deps): bump golang.org/x/sys (#174)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20220319134239-a9b59b0215f8 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 16:26:02 +01:00
Michael Stapelberg d5cbca1b90 Revert "dhcp: use landlock to remove ambient file access"
This reverts commit fbb7618c25.

landlock depends on psx. When cgo is enabled, psx uses a cgo
implementation, which is undesired in setups which use cgo
(e.g. scan2drive with turbojpeg), but don’t come with a libc:
the dhcp client doesn’t start, which means the device is no
longer reachable over the network.
2022-10-14 19:20:10 +02:00
Michael Stapelberg fbb7618c25 dhcp: use landlock to remove ambient file access 2022-10-09 22:36:47 +02:00
Michael Stapelberg ded80baea1 switch from rsc.io/goversion to debug/buildinfo
The debug/buildinfo package appeared in Go 1.18.
2022-08-12 09:00:44 +02:00
Michael Stapelberg 0f914e4243 go.mod: update to language version go 1.18, tidy 2022-08-07 10:38:54 +02:00
Chris Koch f39d1992df Run go mod tidy to fill in missing go.sum entries
Signed-off-by: Chris Koch <chrisko@google.com>
2022-03-28 22:58:16 +02:00
Michael Stapelberg 4c1cf82b51 go.mod: update all dependencies 2022-03-20 09:36:21 +01:00
Michael Stapelberg 4c37518767 dhcp: configure route priority to eth* = 1, wlan* = 5, down = 1024
This results in seamless handover between ethernet and wifi when both interfaces
are connected to the same IP network.
2022-03-05 21:54:17 +01:00
Matt Layher 63413ccafb go.mod: switch to github.com/mdlayher/packet@v1.0.0 (#109)
* go.mod: switch to github.com/mdlayher/packet@v1.0.0
* go.mod: bump github.com/rtr7/dhcp4

Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-02-21 23:24:03 +01:00
Anup Chenthamarakshan e42cbd86b3 update: support device-specific update handlers (#102)
Useful to update devices which expect blobs at fixed locations
2022-01-11 20:29:31 +01:00
Michael Stapelberg 95e14930ea add /uploadtemp/ handler
related to https://github.com/gokrazy/gokrazy/issues/88
2021-11-21 16:45:15 +01:00
Matt Layher 476b8dbe93 internal/iface: use unix.Ifreq APIs for IPv4 ioctls (#91) 2021-08-22 11:41:44 +02:00
Michael Stapelberg fe0bbe84c9 go mod tidy 2021-08-18 10:02:09 +02:00
Michael Stapelberg 60dafef40e initial commit: UEFI integration test 2021-08-18 10:01:55 +02:00
Matt Layher fba8163e5d internal/iface: use unix.Ifreq API for interface flags ioctl (#90)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-08-18 09:51:00 +02:00
Michael Stapelberg 5f651d5dcc modifyCmdline: update systemd-boot config if present
related to https://github.com/gokrazy/gokrazy/issues/87
2021-06-22 08:22:42 +02:00
Matt Layher caded46676 gokrazy: import and use github.com/mdlayher/watchdog (#72)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-06 17:11:15 +02:00
Michael Stapelberg 848ce3c054 pull in latest gokrazy/internal 2020-05-31 23:23:22 +02:00
Michael Stapelberg 8c74716f04 pull in recent enough gokrazy/internal 2020-05-30 19:05:15 +02:00
Michael Stapelberg b93a58e5c8 status: print module info details
fixes https://github.com/gokrazy/gokrazy/issues/59
2020-05-30 18:17:38 +02:00
Michael Stapelberg 6bbd4a085c pull in new-enough version of gokrazy/internal 2020-04-07 10:00:01 +02:00
Michael Stapelberg ffc8928d2e update to new rootdev API
related to https://github.com/gokrazy/gokrazy/issues/52
2020-04-07 09:00:10 +02:00