Added missing packages to both the image and the check.

This commit is contained in:
Storm Dragon
2021-03-09 20:01:20 -05:00
parent eeeceb8c3b
commit 7b9ac90456
2 changed files with 2 additions and 239 deletions

View File

@ -111,7 +111,7 @@ if [[ "$(uname -m)" == "x86_64" ]]; then
exit 1
fi
fi
for i in parted wget ; do
for i in dosfstools parted wget ; do
if ! pacman -Q $i &> /dev/null ; then
echo "Please install $i before continuing."
exit 1
@ -140,7 +140,7 @@ arch-chroot /mnt << EOF
# set up pacman
pacman-key --init
pacman-key --populate archlinuxarm
pacman -Syu --needed --noconfirm base base-devel bash-completion cronie espeak-ng git
pacman -Syu --needed --noconfirm alsa-utils base base-devel bash-completion cronie espeak-ng git wget
# set the language
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
echo "LANG=$imageLanguage" > /etc/locale.conf