libc only used for reboot syscall (easy to replace)
Test
Run auraed in a VM as pid1:
make build-container
make kernel
make initramfs
# create `vm-br0` bridge on your machine:
make network
# run auraed in a VM as pid 1:
make virsh-start virsh-console virsh-stop
# exit VM console with Ctrl+]
Send a shutdown signal:
make virsh-shutdown
# before the vm is powered off, a log entry shows the received input event
Todos
Notify Runtime first before shutting down - .await the auraed runtime
detect correct power button input device (hardcoded to /dev/input/event0 which works for the libvirtd development vm)
Hi Community,
this PR adds a power button listener.
Test
Run auraed in a VM as pid1:
Send a shutdown signal:
Todos
.await
the auraed runtime/dev/input/event0
which works for the libvirtd development vm)