Skip to content

Commit 5667fbc

Browse files
committed
🚑 quick fix - issue 44
Temporary work around until 'rust' makes its way to the plugin manifest
1 parent aa1cb84 commit 5667fbc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

post_install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ cp -R "/usr/local/examples/${service_name}/" "${service_config}"
3434
find "${service_config}" -type f -name ".empty" -depth -exec rm -f {} \;
3535
chown -R "${service_name}":"${service_name}" "${service_home}" && chmod -R g=u "${service_home}"
3636

37+
## ISSUE 44 - Home Assistant 2021.10 - Failed to build cryptography
38+
## Building the wheel for cryptography requires Rust >=1.41.0.
39+
pkg install -y rust
40+
3741
## Install the jail's primary service, Home Assistant Core
3842
/root/.plugin/bin/get-pip-required "${service_name}" \
3943
&& service "${service_name}" oneinstall "${service_name}" \

post_update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ elif [ "${plugin_version%%-*}" == "v6" ]; then
4848
true
4949
fi
5050

51+
## ISSUE 44 - Home Assistant 2021.10 - Failed to build cryptography
52+
## Building the wheel for cryptography requires Rust >=1.41.0.
53+
pkg install -y rust
54+
5155
if checkyesno plugin_clean_install_service; then
5256
clean_install_service
5357
elif checkyesno plugin_force_reinstall_service; then

0 commit comments

Comments
 (0)