Latest build script.
This commit is contained in:
parent
d74b731593
commit
04063438ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user