remove the build packages from the finished image to save space.
This commit is contained in:
parent
a3b9e8c752
commit
6bf31d0da8
@ -174,6 +174,7 @@ makepkg -si --noconfirm
|
|||||||
cd ~
|
cd ~
|
||||||
rm -rf yay
|
rm -rf yay
|
||||||
yay -S --noconfirm fake-hwclock-git fenrir-git growpartfs log2ram
|
yay -S --noconfirm fake-hwclock-git fenrir-git growpartfs log2ram
|
||||||
|
rm -rf .cache/yay
|
||||||
exit
|
exit
|
||||||
# Configure sudo for group wheel, remove nopasswd for the stormux user
|
# Configure sudo for group wheel, remove nopasswd for the stormux user
|
||||||
echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel
|
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
|
echo stormux > /etc/hostname
|
||||||
# Enable services
|
# Enable services
|
||||||
systemctl enable brltty.path cronie.service fake-hwclock.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service
|
systemctl enable brltty.path cronie.service fake-hwclock.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service
|
||||||
|
|
||||||
# Update fstab for Raspberry Pi 4.
|
# 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
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user