Search Criteria
Package Details: homeassistant-supervised 1.7.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/homeassistant-supervised.git (read-only, click to copy) |
---|---|
Package Base: | homeassistant-supervised |
Description: | Home Assistant Supervised |
Upstream URL: | https://www.home-assistant.io/ |
Keywords: | haos hass homeassistant supervised |
Licenses: | Apache |
Conflicts: | docker-desktop |
Submitter: | rokam |
Maintainer: | rokam |
Last Packager: | rokam |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2022-08-05 22:00 (UTC) |
Last Updated: | 2024-04-03 16:41 (UTC) |
Dependencies (14)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- docker (rancher-desktop-gitAUR, docker-gitAUR, podman-docker-gitAUR, docker-cli-binAUR, rancher-desktopAUR, podman-docker)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- homeassistant-osagentAUR
- jq (jq-gitAUR)
- systemd (systemd-chromiumosAUR, systemd-gitAUR, systemd-fmlAUR, systemd-selinuxAUR)
- udisks2
- wget (wget-gitAUR, wurlAUR)
- git (git-gitAUR, git-glAUR) (make)
- apparmor (apparmor-gitAUR) (optional) – enhanced security
- cifs-utils (optional) – support for SMB/CIFS mounts
- networkmanager (networkmanager-gitAUR, networkmanager-iwdAUR) (optional) – support for built-in network management
- nfs-utils (optional) – support for NFS mounts
Required by (0)
Sources (1)
rokam commented on 2022-09-28 04:01 (UTC)
Adrian.Chmiel commented on 2022-09-27 20:10 (UTC)
ARM arch. is also supported (for exam. I using ARCH on ARM CPU)
https://archlinuxarm.org/
rokam commented on 2022-09-27 16:56 (UTC) (edited on 2022-09-27 16:56 (UTC) by rokam)
@adrian.chmiel, archlinux only support x86_64. When running on a x86_64 arch, the correct machine is selected. The machine is something different than uname -m.
Adrian.Chmiel commented on 2022-09-27 16:33 (UTC)
Thanks @rokam, regarding MACHINE, "uname -m" always will return architecture of system.
If we use env. variable then maybe better to use something like that?
echo $MACHINE
rokam commented on 2022-09-26 13:56 (UTC) (edited on 2022-09-26 14:04 (UTC) by rokam)
@adrian.chmiel fixed the systemd-journal-gatewayd.socket, it was my mistake to create hassio-journal-gatewayd.socket. Now the script edits the systemd-journal-gatewayd.socket to add the listenstream file used by docker. There was no need to install a package because systemd-journal-gatewayd is part of systemd.
About the machine, in your case you need to set the MACHINE env var before installing.
eg.:
$ export MACHINE=raspberrypi3-64
I moved the check arch and machine to pre_install step. (The original deb installer does it in the post_install fase)
Adrian.Chmiel commented on 2022-09-26 12:24 (UTC) (edited on 2022-09-26 12:58 (UTC) by Adrian.Chmiel)
@rokam, if I'm not mistake, this version requires worked systemd-journal-remote (probably for remore control).
hassio-journal-gatewayd.socket requires systemd-journal-gatewayd which one require and libmicrohttpd package(it is not included now in the installation reuire list)
But we cannot start hassio-journal-gatewayd.socket bcause:
hassio-journal-gatewayd.socket: Socket service hassio-journal-gatewayd.service not loaded, refusing.
Moreover, if I have different machine that on the list, files is copped but the installation procedure stopped, even though RP3 is listed.
In my opinion, if they shoundn't install the package on a platform other than one on the list, it should check it first and return the error of platform not supported and stop the procedure.
Now they copies the files and leaves them unconfigured.
In line 140 should be "*)"?
Regarding MACHINE, if we have RP3, they "uname -m" return aarm64, then the script will not put information about MACHINE and check_machine() function will done with "exit 1".
Currently in my opinion the install script only supports x86 architecture, any other ends with "exit 1".
rokam commented on 2022-09-24 14:45 (UTC) (edited on 2022-09-24 14:45 (UTC) by rokam)
@adrian.chmiel, thanks for the suggestions. The first one will be fixed, although both will work the same way. The second is incorect. MACHINE should be one of the following:
- generic-x86-64
- odroid-c2
- odroid-n2
- odroid-xu
- qemuarm
- qemuarm-64
- qemux86
- qemux86-64
- raspberrypi
- raspberrypi2
- raspberrypi3
- raspberrypi4
- raspberrypi3-64
- raspberrypi4-64
- tinker
- khadas-vim3
That's why we have a check_machine function in the install script.
Adrian.Chmiel commented on 2022-09-23 21:12 (UTC) (edited on 2022-09-23 21:48 (UTC) by Adrian.Chmiel)
@rokam, there is a bug in .INSTALL: (line 47)
sed -i "s,%%HASSIO_CONFIG%%,${CONFIG},g" "${PREFIX}"/bin/hassio-supervisor
Should be:
sed -i "s,%%HASSIO_CONFIG%%,${CONFIG},g" "${PREFIX}/bin/hassio-supervisor"
"is in the wrong place
This is the reason why Martynvandijke60 had problems
Supervisor cannot download docker package, when MACHINE is not specified: (from line 119)
"arm" |"armv6l")
MACHINE=${MACHINE:=armhf}
HASSIO_DOCKER="${DOCKER_REPO}/armhf-hassio-supervisor"
;;
"armv7l")
MACHINE=${MACHINE:=armv7}
HASSIO_DOCKER="${DOCKER_REPO}/armv7-hassio-supervisor"
;;
"aarch64")
MACHINE=${MACHINE:=aarch64}
HASSIO_DOCKER="${DOCKER_REPO}/aarch64-hassio-supervisor"
;;
*)
Next thing, in my opinion is better to check
systemd.unified_cgroup_hierarchy=false
in /proc/cmdline, rarely on ARM platforms there is something in /boot
simona commented on 2022-09-23 21:11 (UTC)
What problem is if I update ha e supervisor but not package homeassistant-supervised?
rokam commented on 2022-09-23 19:45 (UTC)
@simona, you can create a full backup and then restore it after package installation. The "migration" process will need a lot of tweeks.
Pinned Comments
gaelic commented on 2024-06-19 18:07 (UTC) (edited on 2024-06-19 18:48 (UTC) by gaelic)
cgroup v1 is deprecated as of now and my pc is not booting anymore with the required parameter. I am downgrading systemd for the moment, but we need a solution for this problem rather soon. From the systemd changelog (version 256):
Support for cgroup v1 ('legacy' and 'hybrid' hierarchies) is now considered obsolete and systemd by default will refuse to boot under it. To forcibly reenable cgroup v1 support, SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1 must be set on kernel command line. The meson option 'default-hierarchy=' is also deprecated, i.e. only cgroup v2 ('unified' hierarchy) can be selected as build-time default.
rokam commented on 2022-08-05 22:03 (UTC) (edited on 2022-08-05 22:04 (UTC) by rokam)
You need to add
systemd.unified_cgroup_hierarchy=false
in your kernel parameters.Read more at: https://wiki.archlinux.org/title/Kernel_parameters