From e16e23a835e467e80f6d77d652e1f1f8adfcbb50 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 9 Dec 2020 08:53:05 -0500 Subject: [PATCH] Added informant to packages. --- build/build-stormux.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 98874aa..b4aac96 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -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}