Skip to content

Commit b476f3d

Browse files
committed
Add ha dependency package: systemd-timesyncd
1 parent 3191396 commit b476f3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-homeassistant.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ jobs:
307307
wget -P ./build/extensions https://raw.githubusercontent.com/armbian/os/main/userpatches/extensions/ha.sh
308308
# 修改ha.sh脚本中的命令以停止internet host IP地址检测
309309
sed -i "/sed -i \"\/update-grub\/d\"/a\sed -i \"s\/while ! ping\/while ping\/\" homeassistant-supervised/DEBIAN/postinst" ./build/extensions/ha.sh
310+
# 在ha.sh的chroot_sdcard_apt_get_install方法里添加缺少的依赖包
311+
more_ha_deps="systemd-timesyncd"
312+
sed -i "s|systemd-journal-remote |systemd-journal-remote ${more_ha_deps} |g" ./build/extensions/ha.sh
310313
echo "status=success" >> ${GITHUB_OUTPUT}
311314
312315
- name: Compile Armbian [ ${{ inputs.set_release }} ]

0 commit comments

Comments
 (0)