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.
Instead of overwriting etc/network/interfaces just add a custom file in
etc/network/interfaces.d/ for home-assistant purposes if necessary.
This was conflicting with basic Debian installation.
* 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
* Build Debian Package in Docker
* Fix docker run
* Fix Formatting
* Fix YAML Errors
* Test Formatting Fix
* Pin to bullseye-slim
* Build Debian Package in Docker
* Bump Version Number
* 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
* Build Test Deb Package
* set retention-days to 15
* Update .github/workflows/build-deb-pr.yml
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Update .github/workflows/build-deb-pr.yml
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* set lowest permissions
* set branch to main
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* Simplify AppArmor handler with new OS-Agent
* improve grammar
* bump version number
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
* 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