While installing debian comes with a configuration for resolving and
resolved is not necessary and causing problems in some cases (no IPv6,
custom network setup, etc...)
Thus it might be better to leave this configuration to the system
administrator while installing the supervised way.
* 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
* Update networkmanager config to match OS
* drop Supervisor default
* remove divert of NetworkManager file
* switch to checkonline
* remove http from ping
* divert default config
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
* 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