ship bluez + enable bluetooth.service across distros

This commit is contained in:
mia
2026-06-27 19:05:04 -04:00
parent de5d60da56
commit 21f86f562e
6 changed files with 33 additions and 0 deletions

View File

@@ -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

View File

@@ -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' \

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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