Timmy Welch
fbdcde6baf
Add trivial xattr support to squashfs
...
Push / CI (push) Has been cancelled
This is only implemented to support capabilities on installed packages
2025-12-28 14:20:18 -08:00
Michael Stapelberg
05cd6a8b1b
config: add BootloaderExtraEEPROM
...
related to https://github.com/gokrazy/gokrazy/issues/338
2025-11-16 19:07:01 +01:00
Michael Stapelberg
c2e4e2b4f6
config: add KernelExtraArgs (will end up in cmdline.txt)
...
related to https://github.com/gokrazy/gokrazy/issues/312
2025-05-20 22:59:45 +02:00
Michael Stapelberg
d5a706e350
config: add PackageConfig.GoBuildEnvironment
2025-03-30 11:13:25 +02:00
Michael Stapelberg
41d5d8fffb
config: group PackageConfig struct fields into build time / run time
2025-03-30 11:03:52 +02:00
thielepaul
f306dc6e70
config: add package config field to override basename ( #24 )
...
related to https://github.com/gokrazy/gokrazy/issues/303
2025-02-24 07:10:05 +01:00
Michael Stapelberg
423a5b587b
config: add Environment, rename ReadFromFile to ApplyInstanceFlag
...
It now does more and is more descriptively named,
freeing the ReadFromFile name for a side-effect free entrypoint.
related to https://github.com/gokrazy/gokrazy/issues/191
2025-01-26 22:39:49 +01:00
Michael Stapelberg
95c24add2d
config: switch to gokrazy/kernel.rpi as default kernel
...
This kernel has the broadest device compatibility (incl. Pi 5).
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-23 11:08:36 +02:00
Brad Fitzpatrick
3c7bf66a62
Add UpdateStruct.NoPassword field ( #19 )
...
To be used by future changes in other repos.
Updates gokrazy/gokrazy#265
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2024-06-07 18:07:28 +02:00
Michael Stapelberg
a48c0b92e8
config: define MountDevices
...
related to https://github.com/gokrazy/gokrazy/issues/236
2024-05-10 18:27:12 +02:00
Michael Stapelberg
b4318213fb
config: add BootloaderExtraLines
...
This is an array of strings because JSON does not support multi-line strings
natively, and working with a single long line with multiple \n is error-prone.
related to https://github.com/gokrazy/gokrazy/issues/216
2023-12-15 15:17:37 +01:00
Damiano Donati
a93c67aeb3
config: InternalCompatibilityFlags: add SudoOrDefault accessor ( #18 )
2023-10-10 22:20:00 +02:00
Michael Stapelberg
5c1bb011aa
add SerialConsoleOrDefault() accessor
2023-02-28 22:10:39 +01:00
Michael Stapelberg
05b4335416
config.ReadFromFile: include path in JSON error message
...
fixes https://github.com/gokrazy/tools/issues/47
2023-02-06 08:43:49 +01:00
Michael Stapelberg
7f0148dbcd
include gokrazy/cmd/heartbeat as gokrazy system package
...
heartbeat is a no-op if not configured.
related to https://github.com/gokrazy/gokrazy/issues/167
2023-02-05 16:03:18 +01:00
Michael Stapelberg
8b3fd7aed8
config: ensure Update and InternalCompatibilityFlags are not nil
...
related to https://github.com/gokrazy/tools/issues/43
2023-01-17 19:04:42 +01:00
Michael Stapelberg
e09e239138
WithFallbackToHostSpecific: work when called on nil UpdateStruct
2023-01-15 16:41:05 +01:00
Michael Stapelberg
f5c7fc51ab
clarify comment regarding InternalCompatibilityFlags purpose
2023-01-14 08:52:06 +01:00
Michael Stapelberg
8ce5e37830
remove CertPEM and KeyPEM fallback from WithFallbackToHostSpecific
...
This resulted in TLS being on despite "UseTLS": "off".
2023-01-07 18:17:58 +01:00
Michael Stapelberg
67ef7c05d4
config: fix copy & paste error: cert.pem → key.pem
2023-01-07 17:50:20 +01:00
Michael Stapelberg
f7440a1551
implement support for instance configuration
...
related to https://github.com/gokrazy/gokrazy/issues/147
2023-01-07 15:39:36 +01:00
Damiano Donati
c79d6023db
Indicate macOS/Darwin path for gokrazyConfigDir() ( #12 )
2022-05-27 21:27:32 +02:00
Michael Stapelberg
5369c1985e
config: don’t require os.UserConfigDir() to work at func init
...
This broke the packer’s sudo privilege elevation code path.
2020-05-30 20:59:35 +02:00
Michael Stapelberg
2cb9182fef
factor host-specific config reading into internal/
2020-05-27 18:35:28 +02:00