1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-15 07:29:08 +00:00
Johannes Truschnigg faa371191f Implement basic ACPI shutdown support via busybox acpid (#209)
On systems where ACPI support is present as inidcated by the presence of
/proc/acpi (e.g. on OVA compatible hypervisors), we want to properly
shut down the system when the power button is pressed (or the hypervisor
simulates this kind of event to the guest machine that executes hassos).

This changeset provides the following basic infrastructure for this
feature to work as expected:

 * a systemd service to start acpid, if ACPI support can be assumed
 * an acpid configuration directory
 * a trivial shutdown script to invoke when a PWR event is registered
2018-10-10 11:34:06 +02:00
2018-04-29 10:22:11 +02:00
2018-04-16 15:31:15 +02:00
2018-06-24 00:11:54 +02:00
2018-08-03 13:21:55 +02:00
2018-04-15 10:27:33 +02:00
2018-06-25 08:59:43 +02:00

HassOS

Hass.io OS based on buildroot. It's a hypervisor for Docker and supports various kind of IoT hardware. It is also available as virtual appliance. The whole system is optimized for embedded system and security. You can update the system simple with OTA updates or offline updates.

Focus

  • Linux kernel 4.14 (LT)
  • Barebox as bootloader on EFI
  • U-Boot as bootloader on IoT
  • RAUC for OTA updates
  • SquashFS LZ4 as filesystem
  • Docker 18.03.1
  • AppArmor protected
  • ZRAM LZ4 for /tmp, /var, swap
  • Run every supervisor
Languages
Python 73.1%
Shell 16.7%
Makefile 8.7%
HTML 0.8%
Dockerfile 0.4%
Other 0.3%