Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions astroarch_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ su astronaut -c "git clone https://github.com/devDucks/astroarch.git /home/astro
sed -i -e 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen
locale-gen

# If we are on QEMU, packages have already been pulled in the docker phase - install only the pi kernel
# If we are on QEMU, packages have already been pulled in the docker phase - install the pi kernel and base-devel
if [ "$HAS_VIRT" -eq 1 ]; then
pacman -Syu linux-rpi linux-rpi-headers linux-firmware --noconfirm --ask 4
pacman -Syu linux-rpi linux-rpi-headers linux-firmware base-devel --noconfirm --ask 4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are building successfully, base-devel is not needed, also, since this is useful only for compiling, it shouldn't be included

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's perfectly correct, except that some packages on AUR that are useful for astronomy don't check that base-devel is installed, and the packages fail during compilation with a nice “cannot find the fakeroot binary” error. I imagine that those who created this type of PKGBUILD think that base-devel is one of the mandatory packages for installation. Might as well leave it as default to avoid future problems, don't you think?

image

else
pacman -Syu base-devel pipewire-jack gnu-free-fonts wireplumber \
zsh plasma-desktop sddm networkmanager xf86-video-dummy \
Expand All @@ -57,7 +57,8 @@ else
qt6-serialport qt6ct udisks2 xorg-fonts-misc fuse2 \
fortune-mod cowsay pacman-contrib arandr neofetch \
astromonitor kscreen sddm-kcm flatpak plasma-x11-session \
kdialog jq astroarch-onboarding dhcpcd iw --noconfirm --ask 4
kdialog jq astroarch-onboarding dhcpcd iw kde-gtk-config kdeplasma-addons \
libgpiod qt6-imageformats qt6-wayland --noconfirm --ask 4
fi


Expand Down