Commit graph

47 commits

Author SHA1 Message Date
Matheson Steplock
3dde6e9e90
Workaround to allow installation on Debian 11 (#337) 2023-11-07 23:56:37 +01:00
Stefan Agner
d7290e4a19
Pull latest stable Supervisor if image is missing (#336)
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 20:01:56 -04: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
Matheson Steplock
724cbf2dfb
Support Network Storage (#325) 2023-10-16 09:29:49 +02:00
Matheson Steplock
ba6a9d341c
Update resolved.conf (#328) 2023-10-16 09:29:15 +02:00
Matheson Steplock
2e5c669723
Fix redirects on errors (#327) 2023-10-05 08:22:39 +02:00
Matheson Steplock
06671c39bd
Bump version 2023-06-19 01:08:46 -04:00
Matheson Steplock
15f4ab16c2
Add Support For Debian Bookworm (#297) 2023-06-14 15:04:04 -04:00
Matheson Steplock
9c6a021760
Bump Version 2023-06-03 14:52:53 -04:00
Sergio Conde Gómez
923437fa7f
Set bind propagation for supervisor data (#293) 2023-06-02 20:18:01 -04:00
Matheson Steplock
9eb7b0348b
Bump Version 2023-03-02 15:25:59 -05: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
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
Matheson Steplock
730bf01008
Solve Compression Error - Build Debian Package in Docker (#263)
* 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
2022-12-11 15:33:29 -05:00
Matheson Steplock
586b0a8554
Bump Version to 1.4.0 2022-12-10 15:46:38 -05:00
Matheson Steplock
928b3abc34
Block Unsupported OS (#262)
* Check Support

* fix wording

* Add Bypass OS Check
2022-12-10 15:45:58 -05:00
Tony2k
2de4f4b6d0
Add Odroid C4 machine (#250)
https://hub.docker.com/r/homeassistant/odroid-c4-homeassistant
2022-11-16 15:51:36 -05:00
Lucas Mindêllo de Andrade
a3d1502f51
feat(PREINSTALL): check if CPU arch is supported (#243) 2022-10-26 21:37:34 -04:00
Matheson Steplock
c0cfcb3806
Bump version 2022-09-25 17:39:14 -04: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
46ec13fd49
Bump version 2022-09-22 21:15:45 -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
87c4f98a86
add log-opts (#234) 2022-09-15 08:59:38 +02:00
Pascal Vizeli
45a38d1fc4
Add IPv6 support for upcoming supervisor (#229) 2022-08-11 16:09:34 -04:00
Matheson Steplock
2f62e65aab
Bump version number 2022-07-25 16:14:51 -04: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
Matheson Steplock
9f0efc9d20
bump version number 2022-06-23 16:51:56 -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
6adb847f90
bump version to 1.2.0, as /run/supervisor has been added 2022-05-16 21:08:15 -04:00
Matheson Steplock
582f74113d
bump version to 1.1.2 2022-05-16 20:55:14 -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
Pascal Vizeli
da3b7ae7ce
Update hassio-supervisor.service (#204) 2022-03-26 16:57:11 -04:00
Matheson Steplock
52e073a3ea
bump version 1.1.1 2022-03-23 15:27:28 -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
4310fa6579
Bump version to 1.1.0 2022-02-07 15:42:16 -05:00
Matheson Steplock
22cfa7ae5a
Switch to ghcr.io (#188) 2022-02-07 09:37:06 +01:00
Matheson Steplock
070fad61fe fix typo 2022-02-06 15:00:19 -05: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
3200e99888
Reset debconf selections (#189)
* reset machine type

* rename function

* Add removal message

* add detail to message
2022-02-05 21:09:18 -05:00
Matheson Steplock
089222313e
Build package on PR (#167)
* 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>
2021-11-07 20:19:04 +01: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
Phill (pssc)
ab687fddef
Fix issues with diversion removal on install/upgrade (#159) 2021-10-27 17:23:17 -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