From 04063438ae9f206c3c0790b1418ba8c4c46b0bb2 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 26 Oct 2021 11:27:26 -0400 Subject: [PATCH] Latest build script. --- build/build-stormux.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/build-stormux.sh b/build/build-stormux.sh index c6ddb05..3cc353f 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -140,7 +140,7 @@ arch-chroot /mnt << EOF # set up pacman pacman-key --init pacman-key --populate archlinuxarm -pacman -Syyu --needed --noconfirm 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 sox w3m wget xdg-user-dirs +pacman -Syyu --needed --noconfirm 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 sox w3m wget xdg-user-dirs xdg-utils # set the language sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen echo "LANG=$imageLanguage" > /etc/locale.conf @@ -161,6 +161,8 @@ echo -e "root\nroot" | passwd "root" echo -e "stormux\nstormux" | passwd "stormux" # Change to the stormux user and install some packages sudo -iu stormux +# Mark all informant news read +informant read --all # Create desktop, downloads, music, and other directories. xdg-user-dirs-update # Install the yay package manager @@ -169,8 +171,10 @@ cd yay makepkg -si --noconfirm cd ~ rm -rf yay -yay -S --noconfirm fenrir-git growpartfs +yay -S --noconfirm fenrir-git growpartfs informant exit +gpasswd -a stormux informant +informant read --all # Configure sudo for group wheel, remove nopasswd for the stormux user echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel # Set the hostname