Add cross-platform Linux support to manage.sh #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR enables pyMC Repeater to be installed on non-Raspberry Pi Linux systems such as Luckfox Lyra Ultra W running Ubuntu.
Changes
Platform Detection
/dev/spidev*directly instead of Pi-specific module checksraspi-config,luckfox-config, or generic error messagesHardware Groups & Permissions
gpio/spigroups if missing0660permissions)Architecture Support
yqbinary download foraarch64/arm64/armhfarchitecturesPython Package Installation
python3 -m pipfor consistent Python version targeting--break-system-packagesflag (older pip)pyproject.tomlwith grep (handles broken setuptools_scm metadata)pymc_corefrom PyPI (git URL has broken metadata due to setuptools_scm)spidevto compile from source (--no-binary) for correct Python versionspidev,python-periphery,pyserial,gpiodTested Platforms
Breaking Changes
None - maintains full backward compatibility with Raspberry Pi installations.
Co-Authored-By: Warp agent@warp.dev