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 |
|
Tobias Klauser
|
b6086c6f88
|
reboot: use KexecFileLoad and KEXEC_* from golang.org/x/sys/unix (#42)
The KexecFileLoad syscall wrapper and the KEXEC_* constants were added
to golang.org/x/sys/unix. Use them instead of open-coding them.
|
2018-10-05 18:05:53 +02:00 |
|
Michael Stapelberg
|
fc8dd9e2f2
|
reboot: use cmdline from boot/cmdline.txt
For bootonly updates, switching to the inactive root partition is incorrect.
|
2018-07-15 10:40:19 +02:00 |
|
Michael Stapelberg
|
9770d4408f
|
move root device finding function to internal/rootdev
|
2018-07-14 23:37:12 +02:00 |
|
Michael Stapelberg
|
4f0e427025
|
reboot: use kexec where possible
This doesn’t work on the Raspberry Pi yet (due to missing kexec_file_load), but
I tested it in qemu.
|
2018-06-17 09:29:29 +02:00 |
|