mirror of
https://github.com/ps5-linux/ps5-linux-image.git
synced 2026-07-15 21:42:27 +00:00
bazzite: NetworkManager backend=wpa_supplicant (iwd breaks mwifiex)
This commit is contained in:
@@ -52,6 +52,15 @@ mkdir -p "$CHROOT/var/usrlocal/sbin"
|
||||
cp /repo/distros/bazzite/grow-rootfs "$CHROOT/var/usrlocal/sbin/grow-rootfs"
|
||||
chmod +x "$CHROOT/var/usrlocal/sbin/grow-rootfs"
|
||||
cp /repo/distros/bazzite/grow-rootfs.service "$CHROOT/etc/systemd/system/grow-rootfs.service"
|
||||
|
||||
# Force NetworkManager wifi backend off iwd back to wpa_supplicant. Bazzite
|
||||
# defaults to iwd; iwd is incompatible with the PS5 NXP IW620 mwifiex driver
|
||||
# (no SSIDs scanned, NM hangs). wpa_supplicant works out of the box.
|
||||
mkdir -p "$CHROOT/etc/NetworkManager/conf.d"
|
||||
cat > "$CHROOT/etc/NetworkManager/conf.d/00-no-iwd.conf" <<'NMCONF'
|
||||
[device]
|
||||
wifi.backend=wpa_supplicant
|
||||
NMCONF
|
||||
# Chroot in: disable ostree stack, install PS5 kernel, user setup.
|
||||
# Trap to always umount, even if the chroot script exits early.
|
||||
cleanup_bazzite_mounts() {
|
||||
|
||||
Reference in New Issue
Block a user