Skip to content

Refactor install scripts for LITE arm64 (trixie)#539

Merged
mgrouch merged 4 commits into
trixiefrom
codex/refactor-scripts-for-raspberry-pi-arm64
Feb 3, 2026
Merged

Refactor install scripts for LITE arm64 (trixie)#539
mgrouch merged 4 commits into
trixiefrom
codex/refactor-scripts-for-raspberry-pi-arm64

Conversation

@mgrouch

@mgrouch mgrouch commented Feb 3, 2026

Copy link
Copy Markdown

Motivation

  • Consolidate repeated checks and LITE-specific behavior into a shared helper so the installer only targets Raspberry Pi arm64 on the trixie-based LITE build.
  • Reduce duplication and remove branches for the full build to make the LITE flow simpler, safer and easier to maintain.

Description

  • Add install-scripts/lib/common.sh that exports defaults (BBN_KIND="LITE", LMARCH="arm64", BBN_OS_CODENAME="trixie") and provides helpers require_root, require_arch, require_trixie, skip_if_lite, and log.
  • Update install-scripts/install.sh to source the shared helper, enforce root/arch/os-codename via require_*, use SCRIPT_DIR for locating stage scripts, and report BBN_KIND consistently.
  • Rework many stage scripts to source the new helper and either use LITE-specific actions (desktop scripts, servicedialog-lite, trimmed Signal K plugin set) or call skip_if_lite to no-op optional/full components (motioneye, mopidy, radio/SDR, many 8-apps/* scripts).
  • Simplify cleanup in install-scripts/a-cleanup/00-cleanup.sh and remove multi-branch logic so LITE cleanup is consistently applied and /etc/bbn-lite is written.

Testing

  • No automated tests were run on these changes.

Codex Task

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Feb 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/refactor-scripts-for-raspberry-pi-arm64

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mgrouch mgrouch merged commit 2e9fdd0 into trixie Feb 3, 2026
4 checks passed
@mgrouch mgrouch deleted the codex/refactor-scripts-for-raspberry-pi-arm64 branch February 3, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant