Commit graph

14 commits

Author SHA1 Message Date
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
p0wer
d135a92f6d
Fix for missing apparmor profile directory (#278)
Fixes https://github.com/home-assistant/supervised-installer/issues/270
2023-02-15 18:18:04 -05:00
Tomas Klouda
0779e8d745
Fix switch to cgroup v1 for Debian 11 on Raspberry Pi (#240)
There was wrong path used, as `/boot/cmdline.txt` is only used on Rapbian or RaspiOS which are not supported .
2022-09-25 17:25:07 -04: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
1efaf1ce08
Update NetworkManager Config (#224)
* Update networkmanager config to match OS

* drop Supervisor default

* remove divert of NetworkManager file

* switch to checkonline

* remove http from ping

* divert default config
2022-07-25 16:12:43 -04:00
Christoph Spörk
d79ea23c2b
multiple default routes mess up installation (#210)
In case multiple default routes on different network interfaces are defined, installation is messed up

exiting awk script after first hit should resolve this issue
2022-06-22 20:57:51 -04:00
Matheson Steplock
b45f5cd627
Add check for /boot/cmdline.txt (#206)
* add check /boot/cmdline.txt

* fix spacing
2022-05-16 17:09:15 -04: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
Matheson Steplock
9463f705cf
Improved formatting (#196)
* Fixed formatting with help of shellcheck

* add curly braces
2022-03-23 09:47:16 +01:00
Matheson Steplock
13d3088604
Start systemd-resolved (#202)
* Enable and start systemd-resolved

* reorder start
2022-03-23 09:46:05 +01:00
Matheson Steplock
ceb01be00b
Switch to cgroupv1 (#201)
* Switch to cgroupv1

* change wording

* warn user

* fix if statement
2022-03-23 09:45:22 +01:00
Matheson Steplock
22cfa7ae5a
Switch to ghcr.io (#188) 2022-02-07 09:37:06 +01:00
Matheson Steplock
886b7efb30
Add "Install Complete" Message (#190)
* Add install complete message

* Get interface ip
2022-02-06 14:20:37 -05: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