* feat: make installation scripts agent-friendly with CLI args
Add command-line argument support to install.sh and update.sh for both
x86_64 and aarch64 architectures:
- -d, --install-dir DIR Set installation directory
- -s, --systemd Auto-setup systemd service (install only)
- --no-systemd Skip systemd setup (install only)
- -y, --yes Non-interactive mode (auto-confirm prompts)
- -h, --help Show usage information
This allows agents and automation tools to run the scripts without
interactive prompts, making them suitable for CI/CD pipelines and
automated deployments.
* fix: add argument validation for --install-dir flag
Add validation to ensure -d/--install-dir is provided with a valid value:
- Checks that argument exists (not empty)
- Checks that argument doesn't start with '-' (not another flag)
- Exits with error message if validation fails
Fixes CodeRabbit review feedback on PR #2144.
* feat: add --skip-verify flag to skip verification step
Add --skip-verify flag to install and update scripts:
- linux-x86_64/install.sh
- linux-x86_64/update.sh
- linux-aarch64/install.sh
- linux-aarch64/update.sh
When --skip-verify is passed, the scripts skip downloading and
calling verify.sh entirely.
Usage: ./install.sh --skip-verify
* fix: ensure install dir does not contain whitespace
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Apply suggestion from @rolznz
* Apply suggestion from @coderabbitai[bot]
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Apply suggestion from @rolznz
* Update scripts/linux-aarch64/install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: molty21 <moltbot21@agentmail.to>
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* feat: archive integrity verification WIP
* feat: archive integrity verification in the aarch64 update script
* chore: extract verification into a separate file
* feat: add signature verification to all installation and update scripts
* fix: pass correct filenames when invoking the verification script