pinebook: rm the firmware dir and don't enable all sleep

Sleep is broken on the pinebook, so lets force it to not like we do on the Pinebook Pro
Also, rm the firmware we clone, because otherwise it's left around in the root directory.
This commit is contained in:
Steev Klimaszewski
2022-06-17 12:52:53 -05:00
parent a37a31111c
commit b7dc38ab88

View File

@@ -49,6 +49,12 @@ status_stage3 'Add wifi firmware and driver, and attempt to build'
git clone https://github.com/anarsoul/rtl8723bt-firmware
cd rtl8723bt-firmware
cp -a rtl_bt /lib/firmware/
cd ..
rm -rf rtl8723bt-firmware
# Suspend doesn't work properly so only enable s2idle
status_stage3 'Enable suspend2idle'
sed -i s/"#SuspendState=mem standby freeze"/"SuspendState=freeze"/g /etc/systemd/sleep.conf
status_stage3 'Need to package up the wifi driver'
# (it's a Realtek 8723cs, with the usual Realtek driver quality) still,