diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 035ab76..3883cf5 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -144,7 +144,7 @@ arch-chroot /mnt << EOF # set up pacman pacman-key --init pacman-key --populate archlinuxarm -pacman -Syyu --needed --noconfirm alsa-firmware alsa-utils base base-devel bash-completion bluez bluez-utils cronie espeak-ng git magic-wormhole man man-pages networkmanager rhvoice-voice-bdl rng-tools rsync sox w3m wget wireless-regdb xdg-user-dirs xdg-utils +pacman -Syyu --needed --noconfirm alsa-firmware alsa-utils base base-devel bash-completion bluez bluez-utils brltty cronie espeak-ng git magic-wormhole man man-pages networkmanager ntp rhvoice-voice-bdl rng-tools rsync sox w3m wget wireless-regdb xdg-user-dirs xdg-utils # set the language sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen echo "LANG=$imageLanguage" > /etc/locale.conf @@ -156,7 +156,7 @@ systemctl enable rngd.service echo 'Stormux \r (\l)' > /etc/issue echo >> /etc/issue # Change the alarm user to be stormux -usermod -a -g users -G wheel,audio,video -m -d /home/stormux -l stormux alarm +usermod -a -g users -G wheel,audio,video,network,brlapi -m -d /home/stormux -l stormux alarm # Grant sudo privileges to the stormux user for package installation. echo 'stormux ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/wheel # Set the password for the root user @@ -180,7 +180,7 @@ echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel # Set the hostname echo stormux > /etc/hostname # Enable services -systemctl enable cronie.service fenrirscreenreader.service log2ram.service NetworkManager.service +systemctl enable brltty.path cronie.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service # Update fstab for Raspberry Pi 4. #[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab EOF