Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version with core22 base? #1

Open
koenvervloesem opened this issue Jul 19, 2022 · 3 comments
Open

Version with core22 base? #1

koenvervloesem opened this issue Jul 19, 2022 · 3 comments

Comments

@koenvervloesem
Copy link

Is it possible to also publish a version of this snap with core22 as a base?

@waveform80
Copy link
Owner

Unfortunately not. This is because pi-bluetooth depends on the bluez snap, from which it needs certain commands (e.g. hciattach). The bluez snap's base is simply "core" (not "core18", "core20", etc). This makes binaries from it incompatible with all later core bases. As a result (or until this changes) pi-bluetooth cannot be built with a later base (I must admit I haven't tried with core22 specifically, but I did with core20 when it came out, and it failed with the aforementioned incompatible issues).

@koenvervloesem
Copy link
Author

Ok, I wanted to avoid pulling in older core bases on an Ubuntu Core 22 appliance to reduce its size, but it seems that isn't possible then. Thanks for the explanation!

@ogra1
Copy link

ogra1 commented Jan 31, 2024

bluez is base core20 in fact (with the latest/stable channel)...

$ snap info --verbose bluez|grep base
base:     core20

note that we have plenty of customers forking pi-bluetooth into their brand stores because it is missing builds and store tracks for newer bases, there should not be any issues with using it ( at least not for tens of customers that took the pain to fork) with newer bases, even core22 should work fine (it does for others)

there are also multiple channels for bluez, one of them (22/stable) is core22 based ...

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

No branches or pull requests

3 participants