Add log2ram packages.
This commit is contained in:
@ -140,7 +140,7 @@ arch-chroot /mnt << EOF
|
||||
# set up pacman
|
||||
pacman-key --init
|
||||
pacman-key --populate archlinuxarm
|
||||
pacman -Syyu --needed --noconfirm alsa-firmware alsa-utils base base-devel bash-completion bluez bluez-utils cronie espeak-ng git magic-wormhole man man-pages networkmanager rhvoice-voice-bdl rng-tools sox w3m wget xdg-user-dirs xdg-utils
|
||||
pacman -Syyu --needed --noconfirm alsa-firmware alsa-utils base base-devel bash-completion bluez bluez-utils cronie espeak-ng git magic-wormhole man man-pages networkmanager rhvoice-voice-bdl rng-tools rsync sox w3m wget xdg-user-dirs xdg-utils
|
||||
# set the language
|
||||
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
|
||||
echo "LANG=$imageLanguage" > /etc/locale.conf
|
||||
@ -171,7 +171,7 @@ cd yay
|
||||
makepkg -si --noconfirm
|
||||
cd ~
|
||||
rm -rf yay
|
||||
yay -S --noconfirm fenrir-git growpartfs informant
|
||||
yay -S --noconfirm fenrir-git growpartfs informant log2ram
|
||||
exit
|
||||
gpasswd -a stormux informant
|
||||
informant read --all
|
||||
@ -180,7 +180,7 @@ echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel
|
||||
# Set the hostname
|
||||
echo stormux > /etc/hostname
|
||||
# Enable services
|
||||
systemctl enable cronie.service fenrirscreenreader.service NetworkManager.service
|
||||
systemctl enable cronie.service fenrirscreenreader.service log2ram.service NetworkManager.service
|
||||
# Update fstab for Raspberry Pi 4.
|
||||
#[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user