mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-26 00:56:01 +03:00
[GH-ISSUE #764] Package as snap for linux #668
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#668
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dastorm on GitHub (Sep 27, 2019).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/764
Since linux builds seem to break every now and then due to the many distros out there (issues #730 #650 and #747 ) a snap package would probably be the best way to deliver the software to linux users without risking that a change in a distro (fedora no longer has the mono package for example) break the entire build process.
@Thomseeen commented on GitHub (Oct 8, 2019):
Can't get it to build under Manjaro 18 with Mono 6.0.0; would appreciate a snap package too!
@hirschmann commented on GitHub (Oct 13, 2019):
I agree that it would be nice to have a cross-distro package like snap or flatpak.
Unfortunately all the cross-distro package managers run applications in a sandbox which allows limited hardware access only. This is a problem for NBFC because it circumvents the ACPI subsystem and communicates with the hardware directly to control the fans.
I'm also aware that there are build problems on different distros and it's a pain in the ass to ensure that NBFC builds on different distros with different versions of Mono.
Therefore I've started to migrate NBFC to dotnet core which allows me to ship pre-built self-contained packages of NBFC for various Linux distros.
This should at least remove the need to build NBFC yourself if you want to run it on Linux.
Until this is done (it will take some time) the most reliable way to build NBFC is via docker:
https://github.com/hirschmann/nbfc/wiki/How-to-build-NBFC#build-on-linux-via-docker
@Thomseeen
For Manjaro, you can install the AUR package:
https://aur.archlinux.org/packages/nbfc/
@dastorm commented on GitHub (Oct 14, 2019):
While I agree that the docker way is indeed the most reliable as of now and the migration to dotnet core seems like a good idea. Snaps can be packaged in "classic" mode (see here) which runs without confinement (I don't know if flatpak has anything similar).
Anyhow, I don't know how difficult it would be to package, and between docker and the new system with dotnet core the snap may indeed be superfluous.
@intractabilis commented on GitHub (Mar 4, 2020):
It doesn't work.
@github-actions[bot] commented on GitHub (Sep 2, 2020):
This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed