From 7c0c71ab2cb8c9fb4827ccac2d8f6e839d47a85e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 11 Dec 2020 19:59:57 -0500 Subject: [PATCH] Much closer to a working version. --- build/build-stormux.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 18c3f7d..71e1fed 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -119,7 +119,8 @@ done # Url for the image to be downloaded. url[3]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz" -url[4]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz" +#url[4]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz" +url[4]="http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-4-latest.tar.gz" fallocate -l $imageSize "$imageName" loopdev="$(losetup --find --show "${imageName}")" @@ -150,10 +151,10 @@ echo -e "stormux\nstormux" | passwd "stormux" sudo su - stormux git clone https://aur.archlinux.org/yay.git cd yay -makepkg -si +makepkg -si --noconfirm cd ~ rm -rf yay -yay -S fenrir-git informant magic-wormhole +yay -S --noconfirm fenrir-git informant magic-wormhole exit # Make sure informant is up to date with news informant read --all @@ -165,7 +166,7 @@ echo stormux > /etc/hostname # 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 +#[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab EOF exit 0