Commit graph

9 commits

Author SHA1 Message Date
Stefan Agner
f3db9180ae
Pull latest stable Supervisor if image is missing
Similar to Home Assistant OS if the Supervisor is missing, make sure to
pull the latest stable image.

See also https://github.com/home-assistant/operating-system/pull/2765
2023-11-02 22:58:45 +01:00
Marcel de Vries
8dbfda2221
Only attach TTY for hassio_cli wrapper when not completing command (#334) 2023-10-23 15:39:36 +02:00
Marcel de Vries
21a9d0b3f3
Attach TTY for hassio_cli wrapper to make spinner work (#332) 2023-10-23 12:24:25 +02:00
Sergio Conde Gómez
923437fa7f
Set bind propagation for supervisor data (#293) 2023-06-02 20:18:01 -04:00
p0wer
d8af25272d
Issue #247 Ensure systemd-journal-gatewayd socket is correct (#277)
* Create systemd socket override for systemd-journal-gatewayd

As stated in https://github.com/home-assistant/supervised-installer/issues/247 the default action for systemd-journal-gatewayd is to listen on HTTP port while Supervisor needs Unix socket file that's bind mounted in Docker container. This override changes socket location.

* Check and fix systemd socket file

As stated in #247 with the default setup the path /run/systemd-journal-gatewayd.sock may be a directory, not a file, we have to fix that

* Remove unnecessary unit file

Socket location change has been moved to systemd override which is the suggested way of changing original packaged unit behavior

* Rename hassio-supervisor.conf to 10-hassio-supervisor.conf
2023-02-27 17:25:12 -05:00
Matheson Steplock
8b0cfe7a53
Expose systemd-journal-gatewayd (#235)
* Expose systemd-journal-gatewayd

* Enable and start systemd-journal-gatewayd.socket

* add systemd-journal-remote to requirements

* add systemd-journal-remote to requirements
2022-09-15 09:00:29 +02:00
Matheson Steplock
d9256b3d81
streamline hassio-supervisor (#212)
* streamline hassio-supervisor

* mount /run/supervisor to /run/supervisor

* revert mount change

* remove SUPERVISOR_CPU_RT
2022-05-16 16:38:14 -04:00
Pascal Vizeli
cf37577f61
Simplify AppArmor handler with new OS-Agent (#165)
* Simplify AppArmor handler with new OS-Agent

* improve grammar

* bump version number

Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
2021-11-02 13:43:02 -04:00
Matheson Steplock
6003c366f9
Converting the supervised installer to a deb file (#154)
* laying the groundwork

* moving more stuff

* move files into place

* add control

* postinst script

* preinst

* added more to postinst and preinst

* I think this works

* fix gitignore and control

* fixes

* Delete homeassistant-supervised.deb

* Check network connection

* first test of build deb

* test 2

* create changelog

* switch to lowercase for github action

* test without args

* fix typo in example changelog

* Resolve errors

* Space out control

* added files to gitignore

* update gitignore

* putting everything in place

* revert actions changes

* Test action

* test workflow

* new action

* get rid of push

* set version number to match os agent format

* added machine type select

* move bin

* postrm undo dpkg-divert
2021-10-26 10:22:03 +02:00