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