From e5493e19b9b26579d9f626124b700afdfc3a7f70 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 9 Feb 2022 05:04:10 -0500 Subject: [PATCH] Add brltty to basic installation, use ntpd for timesync. --- build/build-stormux.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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