btop
btop copied to clipboard
Add NetBSD Support.
Add support for NetBSD. (Addresses #301)
A lot of the work has been taken from the PR to bring up OpenBSD support. #607
NOTE: Battery and Thermal stats are shown based on some guess work.
Thanks to @0-wiz-0 for helping test and debug the NetBSD specific changes.
NOTE: ~Once this is merged, a follow up PR will update the
README.md
with additional information for building / installing in NetBSD.~ The PR has the updatedREADME.md
.
Pending changes
- [x] ~Verify the memory stats shown is correct.~
- [x] ~Fixed the swap memory calculation.~
- [x] ~Add support for querying battery stats.~
- [x] ~Add support for querying thermal stats.~
- [x] ~Fix
utf
issues when starting up in NetBSD.~ - [x] ~Add CI for
nebtsd
based builds.~
You should also update all other CI files to exclude the new netbsd
path.
You should also update all other CI files to exclude the new
netbsd
path.
Good point, let me do that update.
You should also update all other CI files to exclude the new
netbsd
path.Good point, let me do that update.
Should be done in the latest commit.
@fraggerfox
Is this PR finished? If so, do you wanna note down in this thread if there are any specific dependencies or instructions for compiling on NetBSD.
Just to save me the trouble later when doing testing.
Any links to VM images of current NetBSD release would also be helpful.
NOTE: Once this is merged, a follow up PR will update the README.md with additional information for building / installing in NetBSD.
I would recommend you include the README.md changes in this PR also if you don't mind, it would speed things along when I have time to look through everything and do testing. Since I will likely be pushing a new release once this is merged.
@fraggerfox
Is this PR finished? If so, do you wanna note down in this thread if there are any specific dependencies or instructions for compiling on NetBSD.
Just to save me the trouble later when doing testing.
Any links to VM images of current NetBSD release would also be helpful.
I have added an updated README.md
with the instructions for NetBSD.
You can find the VM image which I have used from here
- https://github.com/vmactions
but if you want to load it up in a Virtualbox like environment, the ISO from NetBSD should help out
- https://wiki.netbsd.org/ports/amd64/