Commit Graph

73 Commits

Author SHA1 Message Date
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
Pascal Vizeli
7cffb1f45b Native bluetooth support (#91)
* Add bluez

* rpi firmware

* add rpi support

* Make packages from rpi

* Fix build

* Fix target

* persistent

* fix package

* Auto enable

* Fix parameter

* Fix rpi

* Fix done
2018-07-10 01:14:07 +02:00
Pascal Vizeli
14833a110f Use wait on network to delay the startup (#81)
* Use wait on network to delay the startup

* Update nm.conf

* Create nm.conf

* Update hassos-supervisor.service

* Rename hassos.conf to docker.conf

* Create hassos.conf

* Create hassos.conf

* Update hassos.conf

* aply patch

* Mark only failed

* Fix start order
2018-07-06 18:21:19 +02:00
Pascal Vizeli
bf59b7744d Use dhcp client / avahi after NM (#75)
* Use dhcp client / avahi after NM

* Store networkmanager

* Add default connection

* cleanup

* cleanup lease

* faster boot

* Cleanup

* Fix permission
2018-07-05 20:00:56 +02:00
Pascal Vizeli
11b1946cd7 Make logs persistent over reboot and cleanup (#61)
* Create hassos-persists-journald

* Create hassos-persists-journald.service

* Set ln & permission

* Enable persists journald

* Update hassos-persists-journald
2018-07-02 01:05:21 +02:00
Pascal Vizeli
2614ffce40 Use CONFIG as label for config partition (#56)
* Use CONFIG as label for config partition

* Update configuration.md

* Update hassos-config
2018-07-01 00:28:00 +02:00
Pascal Vizeli
dde6d8f806 Set hassos supervisor to rauc (#55)
* Set hassos supervisor to rauc

* Update post-install

* Update hassos-config
2018-06-29 15:23:49 +02:00
Pascal Vizeli
f739aed8de Fix hassos-conf label (#48)
* Update mnt-config.mount

* Update configuration.md

* Update configuration.md

* Update mnt-config.mount

* Update configuration.md
2018-06-28 22:20:34 +02:00
Pascal Vizeli
27cd425f5b Use systemd for config mount (#37)
* Create mnt-config.mount

* Update hassos-config

* Update mnt-config.mount

* Update hassos-config
2018-06-26 10:18:16 +02:00
Pascal Vizeli
49df049f2c Change rauc mark handling 2018-06-16 09:06:07 +00:00
Pascal Vizeli
9f6a339ec7 fix old bootstate
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
2018-06-12 14:31:50 +00:00
Pascal Vizeli
a426046bcc Support dual bootloader (#27)
* Support dual bootloader

Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>

* Make ova running

Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>

* fix uboot

Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>

* Update supervisor

Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>

* Support all rpi

Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
2018-06-11 11:34:31 +00:00
Pascal Vizeli
7db3226a8e Optimize Rauc-Good service (#24)
* Update rauc-good.service

* Update rauc-good.timer
2018-05-27 20:02:11 +02:00
Pascal Vizeli
45dfd904d1 Update etc-modules\x2dload.d.mount 2018-05-18 15:21:35 +02:00
Pascal Vizeli
8e37f9af9d Update etc-NetworkManager-system\x2dconnections.mount 2018-05-18 15:21:09 +02:00
Pascal Vizeli
cb5c9d1121 Create etc-modules\x2dload.d.mount 2018-05-18 15:20:38 +02:00
Pascal Vizeli
3a5d2de705 Rename OS (#16)
Rename OS
2018-05-14 22:37:39 +02:00
Pascal Vizeli
387d932392 Update hassio-supervisor.service 2018-05-12 11:36:47 +02:00
Pascal Vizeli
44f90cae13 Update rauc-bad.service 2018-05-12 11:36:17 +02:00
Pascal Vizeli
dfb13b5d40 Update rauc-good.service 2018-05-12 11:35:28 +02:00
Pascal Vizeli
fdab219376 Create rauc-good.timer 2018-05-12 11:33:55 +02:00
Pascal Vizeli
4424f5ab6b Barebox Update (#12)
* Create hassio-rauc.service

* Update hassio-supervisor.service

* Update hassio-rauc.service

* Update hassio-supervisor.service

* Update and rename hassio-rauc.service to rauc-good.service

* Update rauc-good.service

* Create rauc-bad.service

* Update rauc-bad.service

* Update rauc-good.service

* Update hassio-supervisor.service

* Fix barebox recovery

* Create title

* Create title

* Create action

* Create title

* Create action

* Create 20-boot-system1

* Rename buildroot-external/barebox-env/menu/20-boot-system1/title to buildroot-external/barebox-env/menu/20-boot-system2title

* Update and rename buildroot-external/barebox-env/menu/20-boot-system2title to buildroot-external/barebox-env/menu/20-boot-system1/title

* Create title

* Create action

* Create action

* Delete autoboot_timeout

* Create editcmd

* Update init

* Update init

* Fix barebox config

* Update init

* Update system0

* Update system1

* Barebox cleanups

* Update init

* Update init

* Create 0001-get-devicetree-from-file.patch

* Update ova_defconfig

* Update system0

* Update system1

* Create 0001-add-i-argument-to.patch

* Update barebox.config

* Update rauc

* Rename buildroot-external/board/ova/patches/dt-util/0001-get-devicetree-from-file.patch to buildroot-external/board/ova/patches/dt-utils/0001-get-devicetree-from-file.patch

* Add script

* fix barebox-state
2018-05-10 01:11:07 +02:00
Pascal Vizeli
b0212beec3 Apparmor hassio (#10)
* Delete 0001-Autostart.patch

* Update apparmor.mk

* Update Config.in

* Create hassio-apparmor

* Update hassio-apparmor

* Update data.conf

* Delete etc-apparmor.d-containers.mount

* Delete etc-apparmor.d-containers.mount

* Delete hassio.conf

* Update hassio-apparmor

* Update Config.in

* Update Config.in

* Update hassio.mk

* Update hostapp.sh

* Update Config.in

* Update hassio.mk

* Update hassio.mk

* Create hassio-supervisor

* Update hassio-apparmor

* Update hassio-apparmor

* Update hassio-apparmor

* Update hassio-supervisor

* Update hassio-cli

* Update hassio-apparmor

* Update hassio-apparmor

* Create hassio-apparmor.service

* Update hassio-apparmor.service

* Delete apparmor.service

* Update local stuff

* Profile for CLI

* Update hassio.mk

* Update hassio.mk

* Update hassio-supervisor

* Update hassio-apparmor
2018-05-01 22:39:30 +02:00
Pascal Vizeli
f7c980fcc2 Create etc-apparmor.d-containers.mount 2018-04-30 12:26:39 +02:00
Pascal Vizeli
90b7c9f0d1 Update hassio-expand.service 2018-04-30 12:10:17 +02:00
Pascal Vizeli
e816808382 Update mnt-data.mount 2018-04-30 12:09:29 +02:00
Pascal Vizeli
e544c14d3d Layering hostname/hosts (#5)
* Layering hostname/hosts

* Fix build

* Use origin files on new overlay
2018-04-27 18:20:06 +02:00
Pascal Vizeli
77293f58ca expand working 2018-04-18 00:18:53 +02:00
Pascal Vizeli
281f262b67 Update mnt-data.mount 2018-04-17 18:56:39 +02:00
Pascal Vizeli
1611c4d009 Update mnt-data.mount 2018-04-17 18:55:52 +02:00
Pascal Vizeli
45c9bdac01 Finish expander 2018-04-17 11:27:17 +02:00
Pascal Vizeli
63fc4b295c Update hassio-supervisor.service 2018-04-12 14:53:07 +02:00
Pascal Vizeli
40f74aff0a Update hassio-supervisor.service 2018-04-12 14:16:29 +02:00
Pascal Vizeli
c2e443d04e Create hassio-supervisor.service 2018-04-12 14:15:29 +02:00
Pascal Vizeli
b979f5502e Update hassio-config.service 2018-04-11 16:41:22 +02:00
Pascal Vizeli
1360bb7fba Create hassio-config.service 2018-04-11 16:27:48 +02:00
Pascal Vizeli
0a75e1a1c2 Update etc-NetworkManager-system\x2dconnections.mount 2018-04-11 16:21:07 +02:00
Pascal Vizeli
2e68bef4f5 Update root-.ssh.mount 2018-04-11 16:20:35 +02:00
Pascal Vizeli
a51adba72a Update zram-var.service 2018-04-11 15:47:55 +02:00
Pascal Vizeli
d91c61db20 Update zram-tmp.service 2018-04-11 15:47:40 +02:00
Pascal Vizeli
9f2d7c94c9 Update zram-swap.service 2018-04-11 15:47:26 +02:00
Pascal Vizeli
c6db29a5e2 Create root-.ssh.mount 2018-04-11 15:41:52 +02:00
Pascal Vizeli
08293d02bd Cleanup run 2018-04-10 22:44:55 +02:00
Pascal Vizeli
e2a0632e31 Fix severals problems 2018-04-05 00:14:16 +02:00
Pascal Vizeli
823b02620a Update var-log-journal.mount 2018-04-04 19:23:05 +02:00
Pascal Vizeli
e6a6696d9a Update var-lib-systemd.mount 2018-04-04 19:22:27 +02:00
Pascal Vizeli
9e38ece40c Update root-.docker.mount 2018-04-04 19:21:03 +02:00
Pascal Vizeli
353de59fae Update etc-machine\x2did.mount 2018-04-04 19:19:54 +02:00
Pascal Vizeli
5d694ea337 Update etc-dropbear.mount 2018-04-04 19:19:24 +02:00
Pascal Vizeli
0343511662 Update etc-docker.mount 2018-04-04 19:19:06 +02:00