Added informant to packages.

This commit is contained in:
Storm Dragon 2020-12-09 08:53:05 -05:00
parent 025883df17
commit e16e23a835

View File

@ -117,7 +117,7 @@ mount ${loopdev}p2 /mnt
mkdir /mnt/boot
mount ${loopdev}p1 /mnt/boot
wget "${url[$imageVersion]}" -O- | bsdtar -xpf - -C /mnt
arch-chroot /mnt << "EOF"
arch-chroot /mnt << EOF
# set up pacman
pacman-key --init
pacman-key --populate archlinuxarm
@ -136,13 +136,17 @@ cd yay
makepkg -si
cd ~
rm -rf yay
yay -S fenrir-git magic-wormhole
yay -S fenrir-git informant magic-wormhole
exit
# Make sure informant is up to date with news
informant read --all
# Configure sudo for group wheel, remove nopasswd for the stormux user
sed '/stormux/d' /etc/sudoers.d/wheel
sed 's/^# %wheel ALL=(ALL) ALL$/%wheel ALL=(ALL) ALL/' /etc/sudoers.d/wheel
# Enable services
systemctl enable cronie.service fenrirscreenreader.service
# Update fstab for Raspberry Pi 4.
[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab
EOF
umount -R /mnt
partx -d ${loopdev}