Fixed aur package building.
This commit is contained in:
parent
e721b7ef60
commit
1357d2ef04
@ -167,10 +167,13 @@ pacman -Su --needed --noconfirm \
|
|||||||
bluez \
|
bluez \
|
||||||
bluez-utils \
|
bluez-utils \
|
||||||
brltty \
|
brltty \
|
||||||
|
cloud-utils \
|
||||||
cronie \
|
cronie \
|
||||||
dbus-broker \
|
dbus-broker \
|
||||||
espeak-ng \
|
espeak-ng \
|
||||||
|
fake-hwclock \
|
||||||
git \
|
git \
|
||||||
|
go \
|
||||||
magic-wormhole \
|
magic-wormhole \
|
||||||
man \
|
man \
|
||||||
man-pages \
|
man-pages \
|
||||||
@ -180,6 +183,11 @@ pacman -Su --needed --noconfirm \
|
|||||||
pipewire-alsa \
|
pipewire-alsa \
|
||||||
pipewire-jack \
|
pipewire-jack \
|
||||||
pipewire-pulse \
|
pipewire-pulse \
|
||||||
|
python-pyudev \
|
||||||
|
python-daemonize \
|
||||||
|
python-evdev \
|
||||||
|
python-dbus \
|
||||||
|
python-pyte \
|
||||||
realtime-privileges \
|
realtime-privileges \
|
||||||
rhvoice-voice-bdl \
|
rhvoice-voice-bdl \
|
||||||
rng-tools \
|
rng-tools \
|
||||||
@ -214,30 +222,41 @@ echo -e "stormux\nstormux" | passwd "stormux"
|
|||||||
sudo -iu stormux
|
sudo -iu stormux
|
||||||
# Create desktop, downloads, music, and other directories.
|
# Create desktop, downloads, music, and other directories.
|
||||||
xdg-user-dirs-update
|
xdg-user-dirs-update
|
||||||
# Install the yay package manager
|
# Build AUR packages
|
||||||
git clone https://aur.archlinux.org/yay.git
|
export aurPackages=(fenrir-git \
|
||||||
cd yay
|
growpartfs \
|
||||||
makepkg -si --noconfirm
|
log2ram \
|
||||||
cd ~
|
yay)
|
||||||
rm -rf yay
|
export PKGDEST=~/packages
|
||||||
yay -S --removemake --noconfirm fenrir-git growpartfs log2ram
|
for p in "\${aurPackages[@]}" ; do
|
||||||
rm -rf .cache/yay
|
git clone https://aur.archlinux.org/\${p}.git
|
||||||
/usr/share/fenrirscreenreader/tools/configure_pipewire.sh
|
cd ~/\${p}
|
||||||
|
makepkg -A
|
||||||
|
cd ~
|
||||||
|
rm -rf \${p}
|
||||||
|
done
|
||||||
exit
|
exit
|
||||||
|
# Install built packages
|
||||||
|
for p in /home/stormux/packages/* ; do
|
||||||
|
pacman -U --noconfirm \${p}
|
||||||
|
done
|
||||||
|
rm -rf /home/stormux/packages/
|
||||||
# Enable linger so that hopefully sound will start at login.
|
# Enable linger so that hopefully sound will start at login.
|
||||||
mkdir -p /var/lib/systemd/linger
|
mkdir -p /var/lib/systemd/linger
|
||||||
touch /var/lib/systemd/linger/stormux
|
touch /var/lib/systemd/linger/stormux
|
||||||
systemctl --global enable dbus-broker.service pipewire.service pipewire-pulse.service wireplumber.service
|
systemctl --global enable dbus-broker.service pipewire.service pipewire-pulse.service wireplumber.service
|
||||||
/usr/share/fenrirscreenreader/tools/configure_pipewire.sh
|
/usr/share/fenrirscreenreader/tools/configure_pipewire.sh
|
||||||
|
sudo -u stormux /usr/share/fenrirscreenreader/tools/configure_pipewire.sh
|
||||||
# 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
|
||||||
# Set the hostname
|
# Set the hostname
|
||||||
echo stormux > /etc/hostname
|
echo stormux > /etc/hostname
|
||||||
# Configure services
|
# Configure services
|
||||||
systemctl enable brltty.path cronie.service dbus-broker.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service
|
systemctl enable brltty.path cronie.service dbus-broker.service fake-hwclock.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service
|
||||||
systemctl disable dbus.service
|
systemctl disable dbus.service
|
||||||
# Cleanup packages
|
# Cleanup packages
|
||||||
pacman -Sc --noconfirm
|
pacman -Sc --noconfirm
|
||||||
|
pacman -R --noconfirm go
|
||||||
|
|
||||||
# Update fstab for Raspberry Pi 4. Not needed until linux-aarch64 works.
|
# Update fstab for Raspberry Pi 4. Not needed until linux-aarch64 works.
|
||||||
# [[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab
|
# [[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab
|
||||||
|
Loading…
Reference in New Issue
Block a user