From 21f86f562e198decad474bf72414a57a112e0073 Mon Sep 17 00:00:00 2001 From: mia Date: Sat, 27 Jun 2026 19:05:04 -0400 Subject: [PATCH] ship bluez + enable bluetooth.service across distros --- distros/arch/image.yaml | 6 ++++++ distros/cachyos/image.yaml | 6 ++++++ distros/debian/image.yaml | 6 ++++++ distros/fedora/image.yaml | 5 +++++ distros/proxmox/image.yaml | 6 ++++++ distros/ubuntu2604/image.yaml | 4 ++++ 6 files changed, 33 insertions(+) diff --git a/distros/arch/image.yaml b/distros/arch/image.yaml index 91d0a8c..1fac5dc 100644 --- a/distros/arch/image.yaml +++ b/distros/arch/image.yaml @@ -35,6 +35,10 @@ packages: - wl-clipboard - xorg-xwayland + # Bluetooth + - bluez + - bluez-utils + # Audio / media - pipewire - wireplumber @@ -166,6 +170,8 @@ actions: ln -sf /etc/systemd/system/grow-rootfs.service \ /etc/systemd/system/local-fs.target.wants/grow-rootfs.service + systemctl enable bluetooth.service + # Create default user (ps5/ps5) useradd -m -G wheel,seat -s /bin/bash ps5 echo "ps5:ps5" | chpasswd diff --git a/distros/cachyos/image.yaml b/distros/cachyos/image.yaml index e3b2439..5c9495e 100644 --- a/distros/cachyos/image.yaml +++ b/distros/cachyos/image.yaml @@ -43,6 +43,10 @@ packages: - konsole - dolphin + # Bluetooth + - bluez + - bluez-utils + # Audio / media - pipewire - wireplumber @@ -230,6 +234,8 @@ actions: ln -sf /etc/systemd/system/grow-rootfs.service \ /etc/systemd/system/local-fs.target.wants/grow-rootfs.service + systemctl enable bluetooth.service + # Stub out steamos-update so Steam's -steamos3 OOBE skips the SteamOS OTA # step cleanly. Exit 7 = "no update available" per Valve's convention. printf '#!/bin/bash\n# Stub: no SteamOS OTA on this image\nexit 7\n' \ diff --git a/distros/debian/image.yaml b/distros/debian/image.yaml index 9168d5f..b164cfd 100644 --- a/distros/debian/image.yaml +++ b/distros/debian/image.yaml @@ -36,6 +36,11 @@ packages: - dbus-x11 - x11-xserver-utils + # Bluetooth + - bluetooth + - bluez + - bluez-tools + # Audio / media - pipewire - pipewire-pulse @@ -195,6 +200,7 @@ actions: systemctl set-default graphical.target systemctl enable NetworkManager systemctl enable lightdm + systemctl enable bluetooth.service ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime printf 'Etc/UTC\n' > /etc/timezone diff --git a/distros/fedora/image.yaml b/distros/fedora/image.yaml index 8a9c70e..4b3d4be 100644 --- a/distros/fedora/image.yaml +++ b/distros/fedora/image.yaml @@ -45,6 +45,10 @@ packages: - xorg-x11-server-Xwayland - polkit + # Bluetooth + - bluez + - bluez-tools + # Audio / media - pipewire - wireplumber @@ -148,6 +152,7 @@ actions: systemctl enable sshd systemctl enable NetworkManager systemctl enable gdm + systemctl enable bluetooth.service systemctl set-default graphical.target # The PS5 kernel patch writes into the request_firmware() buffer to skip diff --git a/distros/proxmox/image.yaml b/distros/proxmox/image.yaml index 206dd6d..b1ea0a0 100644 --- a/distros/proxmox/image.yaml +++ b/distros/proxmox/image.yaml @@ -45,6 +45,11 @@ packages: - libelf-dev - git + # Bluetooth + - bluetooth + - bluez + - bluez-tools + # Networking (Proxmox uses ifupdown2 + a vmbr0 bridge) - ifupdown2 - openssh-server @@ -219,6 +224,7 @@ actions: systemctl set-default multi-user.target systemctl enable ssh.service || true systemctl enable chrony || true + systemctl enable bluetooth.service || true # zram swap: half of RAM, zstd compressed printf '[zram0]\nzram-size = ram / 2\ncompression-algorithm = zstd\n' > /etc/systemd/zram-generator.conf diff --git a/distros/ubuntu2604/image.yaml b/distros/ubuntu2604/image.yaml index f922f21..8ea497a 100644 --- a/distros/ubuntu2604/image.yaml +++ b/distros/ubuntu2604/image.yaml @@ -36,6 +36,9 @@ packages: - openssh-server - build-essential - network-manager + - bluetooth + - bluez + - bluez-tools - linux-firmware - initramfs-tools - kmod @@ -132,6 +135,7 @@ actions: set -eux systemctl enable grow-rootfs.service systemctl enable systemd-resolved + systemctl enable bluetooth.service mkdir -p /boot/efi # Disable kdump postinst hook — it fails in chroot (can't resolve root device) rm -f /etc/kernel/postinst.d/kdump-tools