2018-04-18 00:18:53 +02:00
2018-03-31 19:01:16 +02:00
2018-04-18 00:18:53 +02:00
2018-03-31 19:01:16 +02:00
2018-03-28 00:01:44 +02:00
2018-04-16 20:00:59 +02:00
2018-04-16 15:31:15 +02:00
2018-03-17 17:35:34 +01:00
2018-03-18 21:50:14 +01:00
2018-04-16 19:29:15 +02:00
2018-04-15 10:27:33 +02:00
2018-04-15 15:05:48 +02:00

WORK IN PROGRESS!

Hass.io OS

Hass.io OS based on buildroot. It's a hypervisor for docker and support many kind of IoT hardware. It is also available as Virtual Appliance. It's optimazed for embedded system and high security. You can update the system simple with OTA updates or offline Updates.

Focus

  • Linux kernel 4.15
  • Barebox as bootloader
  • RAUC for OTA updates
  • SquashFS LZ4 for filesystem
  • Docker 17.12.1
  • ZRAM LZ4 for /tmp, /var, swap
  • Run every supervisor

Schemas

Config

Create a USB stick with a partition "hassio-config". This partition can include follow files:

  • network-* (NetworkManager keyfiles)
  • known_hosts (SSH)
  • hassio-os-*.ota (Firmware updates)

Customize

Supervisor/Cli

Provide a hassio.json on your data partition they can/need follow struct:

{
  "supervisor": "repo/image",
  "supervisor_args": "optional / custom docker arguments",
  "cli": "repo/image",
  "cli_args": "optional / custom docker arguments"
}

Building

Running sudo ./enter.sh will get you into the build docker container.
make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external xy_defconfig

From outside the docker container, while it is still running you can use ./getimage.sh to get the output image.

Helpers

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external defconfig BR2_DEFCONFIG=/build/buildroot-external/configs/xy_defconfig

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external menuconfig

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external linux-menuconfig

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external barebox-menuconfig

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external savedefconfig BR2_DEFCONFIG=/build/buildroot-external/configs/xy_defconfig

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external linux-update-defconfig

  • make -C /build/buildroot BR2_EXTERNAL=/build/buildroot-external barebox-update-defconfig

Description
Languages
Python 72.9%
Shell 17.2%
Makefile 8.3%
HTML 0.8%
Dockerfile 0.4%
Other 0.4%