Skip to content

Conversation

@macmpi
Copy link
Contributor

@macmpi macmpi commented Oct 22, 2023

may be useful to be able to run raspinfo on streamlined systems without bash dependency (ie: just busybox sh).

@macmpi
Copy link
Contributor Author

macmpi commented Oct 30, 2023

asking @JamesH65 views on raspinfo shell usage, as suggested per @pelwell former comment #14 (comment)
Thanks for consideration.

This removes bash as dependency for downstream packagers.
Workaround 3 bashisms:
- &>
- == test
- process substitution for log file
@macmpi
Copy link
Contributor Author

macmpi commented Oct 23, 2025

@popcornmix gentle ping as per #14 (comment):

raspinfo: relying on plain (busybox) sh only rather than bash would make it more practical on other distros (and not assume /opt/vc/bin is already in path)

Pull requests are welcome.

@macmpi macmpi changed the title raspinfo: remove bashisms to run on sh raspinfo: remove bashisms and use POSIX sh Oct 24, 2025
@macmpi
Copy link
Contributor Author

macmpi commented Oct 26, 2025

superseded by #150

@macmpi macmpi closed this Oct 26, 2025
@macmpi macmpi deleted the patch-1 branch October 26, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant