Forgot to enable networkmanager.

This commit is contained in:
Storm Dragon 2021-10-23 15:19:49 -04:00
parent 832daf91b0
commit 4c1f6b5837

View File

@ -140,11 +140,14 @@ 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 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
# set the language
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
echo "LANG=$imageLanguage" > /etc/locale.conf
locale-gen
# Configure and enable Hardware Random Number Generator
echo 'RNGD_OPTS="-o /dev/random -r /dev/hwrng"' > /etc/conf.d/rngd
systemctl enable rngd.service
# Set the distribution name.
echo 'Stormux \r (\l)' > /etc/issue
echo >> /etc/issue
@ -173,7 +176,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
systemctl enable cronie.service fenrirscreenreader.service NetworkManager.service
# Update fstab for Raspberry Pi 4.
#[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab
EOF