Files
guix-router/packages/wireless-regdb-signed.scm
ssmithxandClaude Opus 5.5 76602eb3d2 Time sync, signed regdb, EEE off on LAN port; deploy-rpi fixes
- chronyd (makestep 1 -1) from a shepherd service + chrony account; the
  Pi has no RTC.  ntp doesn't cross-build, openntpd won't step late.
- wireless-regdb-signed: upstream regulatory.db + .p7s, so the kernel
  accepts it (country US instead of world 00).
- lan-eee-off one-shot: EEE between the Pi's PHY and the workstation's
  e1000e dropped ~90% of LAN frames.
- Drop console-font service (setfont fails on the Pi framebuffer).
- deploy-rpi.sh: ssh -n so the generation loop sees every generation.
- openwrt.scm: missing (guix git-download) import.

Generation 6 verified after a cold boot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 18:12:27 -04:00

25 lines
1002 B
Scheme

;;; Upstream's prebuilt regulatory.db with its signature.
;;;
;;; Guix's `wireless-regdb' rebuilds regulatory.db and omits
;;; regulatory.db.p7s, but our kernel has CFG80211_REQUIRE_SIGNED_REGDB=y
;;; with the upstream maintainers' keys built in, so it rejects the database
;;; ("loaded regulatory.db is malformed or signature is missing/invalid") and
;;; stays in world domain 00. Install the matching pair from the release
;;; tarball instead.
(define-module (wireless-regdb-signed)
#:use-module (gnu packages linux)
#:use-module (guix build-system copy)
#:use-module (guix packages)
#:export (wireless-regdb-signed))
(define wireless-regdb-signed
(package
(inherit wireless-regdb)
(name "wireless-regdb-signed")
(build-system copy-build-system)
(arguments
'(#:install-plan '(("regulatory.db" "lib/firmware/")
("regulatory.db.p7s" "lib/firmware/"))))
(native-inputs '())
(synopsis "Wireless regulatory database, as signed upstream")))