From d3c2a0114022fb0245e5aa5d4721a1994004de53 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sun, 19 Oct 2025 15:40:29 +0000 Subject: [PATCH] fix: pass --main flag through to inner LXC installation When installing with --main flag, the outer install.sh now passes --main to the inner installation running inside the LXC. This ensures that pulse-sensor-proxy is built from source inside the container, so the binary can be copied to the Proxmox host using 'pct pull'. Previously, the --main flag was not passed through, causing the inner installation to download the release binary instead of building from source, which resulted in an empty binary being copied to the host. --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index b858794..a9fd10e 100755 --- a/install.sh +++ b/install.sh @@ -1048,6 +1048,9 @@ create_lxc_container() { if [[ -n "$auto_updates_flag" ]]; then install_cmd="$install_cmd $auto_updates_flag" fi + if [[ "$BUILD_FROM_SOURCE" == "true" ]]; then + install_cmd="$install_cmd --main" + fi if [[ "$frontend_port" != "7655" ]]; then install_cmd="FRONTEND_PORT=$frontend_port $install_cmd" fi