Skip to content
Snippets Groups Projects
Commit 71f2166e authored by jurgenhaas's avatar jurgenhaas
Browse files

Add support to patch python packages

parent f9faf6df
Branches
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@
notify:
- Install Alerta inside Container
- Apply patches inside Container
- Copy workaround python packages inside Container
- Re-start the hass container
- name: Install Alerta inside Container
......@@ -27,6 +28,9 @@
command: docker exec home-assistant /bin/bash -c "cd /usr/src/homeassistant && patch -p1 -N -i /config/patches/{{ item }}.patch"
with_items: '{{ home_assistant_patches|default([]) }}'
- name: Copy workaround python packages inside Container
command: docker exec home-assistant /bin/bash -c "cp -r /config/patches/site-packages /usr/local/lib/python3.9/"
- name: Re-start the hass container
docker_container:
name: home-assistant
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment