Latest build script.
This commit is contained in:
parent
d74b731593
commit
04063438ae
@ -140,7 +140,7 @@ arch-chroot /mnt << EOF
|
|||||||
# set up pacman
|
# set up pacman
|
||||||
pacman-key --init
|
pacman-key --init
|
||||||
pacman-key --populate archlinuxarm
|
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
|
# set the language
|
||||||
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
|
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
|
||||||
echo "LANG=$imageLanguage" > /etc/locale.conf
|
echo "LANG=$imageLanguage" > /etc/locale.conf
|
||||||
@ -161,6 +161,8 @@ echo -e "root\nroot" | passwd "root"
|
|||||||
echo -e "stormux\nstormux" | passwd "stormux"
|
echo -e "stormux\nstormux" | passwd "stormux"
|
||||||
# Change to the stormux user and install some packages
|
# Change to the stormux user and install some packages
|
||||||
sudo -iu stormux
|
sudo -iu stormux
|
||||||
|
# Mark all informant news read
|
||||||
|
informant read --all
|
||||||
# Create desktop, downloads, music, and other directories.
|
# Create desktop, downloads, music, and other directories.
|
||||||
xdg-user-dirs-update
|
xdg-user-dirs-update
|
||||||
# Install the yay package manager
|
# Install the yay package manager
|
||||||
@ -169,8 +171,10 @@ cd yay
|
|||||||
makepkg -si --noconfirm
|
makepkg -si --noconfirm
|
||||||
cd ~
|
cd ~
|
||||||
rm -rf yay
|
rm -rf yay
|
||||||
yay -S --noconfirm fenrir-git growpartfs
|
yay -S --noconfirm fenrir-git growpartfs informant
|
||||||
exit
|
exit
|
||||||
|
gpasswd -a stormux informant
|
||||||
|
informant read --all
|
||||||
# Configure sudo for group wheel, remove nopasswd for the stormux user
|
# Configure sudo for group wheel, remove nopasswd for the stormux user
|
||||||
echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel
|
echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel
|
||||||
# Set the hostname
|
# Set the hostname
|
||||||
|
Loading…
Reference in New Issue
Block a user