Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install-dependencies.sh: improve arch detect
Arch system may be detected simpler by checking /etc/arch-release. When script ran not under root it must clearly report its state. There are cases for AUR that are incompatible with root. 1) glibc 2.30-3 has sys/sdt.h (systemtap include) some old containers may contain glibc older, so enforce update on that one. 2) if problems with signatures, ensure having fresh archlinux-keyring: pacman -Sy archlinux-keyring && pacman -Syyu 3) aur installations require having sudo and being a sudoer. makepkg does not work otherwise. Tested on Arch 5.4.2-arch1-1 and docker archlinux. Signed-off-by: Ivan Prisyazhnyy <ivan@scylladb.com> Message-Id: <20200118161911.823648-1-ivan@scylladb.com>
- Loading branch information