@@ -100,16 +100,19 @@ killall -KILL gpg-agent
100100pacman -Sy --noconfirm
101101pacman -Rsn --noconfirm linux-aarch64
102102pacman -S --noconfirm --needed dosfstools curl xz iw rfkill netctl dialog wpa_supplicant alsa-utils \
103- pv linux-pine64 linux-pine64-headers networkmanager dkms-rtl8723cs uboot-pine64-git
103+ pv linux-pine64 linux-pine64-headers networkmanager dkms-rtl8723cs uboot-pine64-git \
104+ rtl8723bt-firmware
104105
105106# Install XFCE
106107pacman -S --noconfirm xfce4 xorg-server xf86-input-libinput lxdm ttf-dejavu ttf-liberation firefox \
107108 pulseaudio nm-connection-editor network-manager-applet \
108109 xfce4-pulseaudio-plugin \
110+ blueman pulseaudio-bluetooth \
109111 pulseaudio-alsa pavucontrol
110112systemctl enable lxdm
111113systemctl enable NetworkManager
112- usermod -a -G network,video,audio,optical,storage,input,scanner,games,lp alarm
114+ systemctl enable bluetooth
115+ usermod -a -G network,video,audio,optical,storage,input,scanner,games,lp,rfkill alarm
113116
114117sed -i 's|^#en_US.UTF-8|en_US.UTF-8|' /etc/locale.gen
115118cd /usr/share/i18n/charmaps
@@ -130,11 +133,10 @@ rm "$DEST/usr/bin/qemu-arm-static"
130133mv " $DEST /etc/resolv.conf.dist" " $DEST /etc/resolv.conf"
131134
132135cp $OTHERDIR /asound.state $DEST /var/lib/alsa
133- cp $OTHERDIR /pine64_first_boot.sh $DEST /usr/local/sbin/
134136cp $OTHERDIR /resize_rootfs.sh $DEST /usr/local/sbin/
135- cp $OTHERDIR /pine64-first-boot.service $DEST /etc/systemd/system/
136137cp $OTHERDIR /modesetting.conf $DEST /etc/X11/xorg.conf.d/
137138cp $OTHERDIR /sysrq.conf $DEST /etc/sysctl.d/
139+ cp $OTHERDIR /81-blueman.rules $DEST /etc/polkit-1/rules.d/
138140
139141echo " Installed rootfs to $DEST "
140142
0 commit comments