From 6bf31d0da8bc438ff02511283a070c886d20fc21 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 19 Feb 2022 23:04:14 -0500 Subject: [PATCH] remove the build packages from the finished image to save space. --- build/build-stormux.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 8c5415b..f15e3ed 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -174,6 +174,7 @@ makepkg -si --noconfirm cd ~ rm -rf yay yay -S --noconfirm fake-hwclock-git fenrir-git growpartfs log2ram +rm -rf .cache/yay exit # Configure sudo for group wheel, remove nopasswd for the stormux user echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel @@ -181,6 +182,7 @@ echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel echo stormux > /etc/hostname # Enable services systemctl enable brltty.path cronie.service fake-hwclock.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service + # Update fstab for Raspberry Pi 4. #[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab EOF