mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 03:20:11 +00:00
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.
This commit is contained in:
parent
762df9629b
commit
d3c2a01140
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue