Comments (4)
Because our console is actually based on Debian nowadays it should be possible to install it with sudo apt-get install bluez
Only extra hack which needed is that you need use rc.local to get it started automatically: https://burmillaos.org/docs/configuration/advanced/write-files/
However, as warning when it comes Raspberry Pi 4, it is a bit unclear if that will receive updates because lack of maintainers on this project.
from os.
Thanks for the quick answer and warning.
I'll try it out.
from os.
A quick update and maybe a little information for future readers, who are interested, or have the same problem.
After trying to install BlueZ
, I've run into some issues.
(For context: I'm not super familiar with Debian)
I've tried to update the repository, which failed, because some GPG keys were unknown.
I've solved this one, but the installation of BlueZ
failed half way, with the option to fix the installation with apt --fix-broken install
, which I did.
This one also failed, because libcrypt.so
was not found. (I'm paraphrasing here, because I didn't write down the exact library version.)
So I've downloaded the lib, moved it into the corresponding directory and this was the end of my journey.
I've tried to rerun the fix-broken-install
command and all I've got was: sudo: account validation failure, is your account locked?
I'm using Linux since 2000-ish and this one is a first. 🙂
Instead of wasting any more time with this, I've decided to start fresh.
After a new installation, with my backup restored, I've come up with a duct tape solution, which works surprisingly well.
So let's embrace Docker and not fight it.
This is my solution:
bluetooth.yml
bluetooth:
image: bluetooth:latest
container_name: bluetooth
build: ./bluetooth
restart: always
net: host
privileged: true
volumes:
- /run/dbus:/run/dbus
./bluetooth/Dockerfile
FROM alpine:latest
RUN apk add --no-cache bluez dbus openrc
RUN rc-update add dbus default \
&& rc-update add bluetooth default \
&& mkdir /run/openrc \
&& touch /run/openrc/softlevel
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]
./bluetooth/entrypoint.sh
#!/bin/sh
rc-status -a
rc-service dbus start
rc-service bluetooth start
sleep infinity
And for good measure:
home-assistant.yml
home_assistant:
image: ghcr.io/home-assistant/home-assistant:stable
container_name: home_assistant
depends_on:
- bluetooth
- mosquitto
restart: always
net: host
cap_add:
- NET_ADMIN
volumes:
- /mnt/data/docker/home-assistant:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
caddy.yml
caddy:
image: caddy
container_name: caddy
restart: always
net: web
ports:
- "80:80"
- "443:443"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- /mnt/data/docker/caddy:/.local/share/caddy
- /mnt/data/docker/caddy/Caddyfile:/etc/caddy/Caddyfile
- /mnt/data/static:/static
from os.
Those issues are most likely result of beta4 missing this #111
You can do same by changing all stable
texts to bullseye
in file /etc/apt/sources
.
However, it might be that you need reset console first like it is described on https://github.com/burmilla/os/releases/tag/v2.0.0-rc2
from os.
Related Issues (20)
- Update v2.0.0 console to Debian bookworm HOT 5
- v2.0.0-rc1 issue tracker HOT 24
- How to install burmillaOS and have it boot within Qubes? HOT 8
- Can we get a discord or IRC channel in order to communicate more quickly? HOT 2
- TLS certificate regeneration HOT 2
- Cron - trim volumes on a schedule HOT 1
- "docker-compose" and "docker compose" HOT 19
- References in the docs HOT 1
- Missing entries in `ros` CLI help
- v2.0.0-rc2 missing in https://raw.githubusercontent.com/burmilla/releases/v2.0.x/releases.yml HOT 1
- Allow DHCP client in network container to send (correct) hostname to DHCP server HOT 3
- Failed to boot after upgrade from 2.0.0-rc2 to 2.0.0 HOT 9
- CRITICAL: x509: certificate has expired or is not yet valid (all versions affected) HOT 11
- x509: certificate has expired or is not yet valid HOT 4
- Upgrade rancher/os 1.5.8 to burmilla/os 2.0.1 to get latest docker version HOT 14
- "burmilla" user does not exist HOT 1
- "~/.docker" folder is owned by root user & group HOT 1
- CVE-2024-6387 - OpenSSH vulnerability HOT 2
- overlay volume running near out-of-space limit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os.