Add aurutils to the check build script

This commit is contained in:
Filippo Squillace 2019-08-09 21:19:37 +10:00
parent 691369068d
commit 313ef30662
2 changed files with 5 additions and 5 deletions

View file

@ -44,7 +44,7 @@ pacman --noconfirm -Su
pacman --noconfirm -S grep coreutils
pacman --noconfirm -S $(pacman -Sg base-devel | cut -d ' ' -f 2 | grep -v sudo)
info "Checking essential executables work..."
info "Checking basic executables work..."
pacman -Qi pacman 1> /dev/null
yogurt -V 1> /dev/null
/opt/proot/proot-$ARCH --help 1> /dev/null
@ -63,11 +63,10 @@ pacman --noconfirm -Rsn ${repo_package2}
if ! $SKIP_AUR_TESTS
then
aur_package=cower
aur_package=aurutils
info "Checking ${aur_package} package from AUR repo..."
gpg --recv-key --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53
yogurt -A --noconfirm -S ${aur_package}
${aur_package} --help
aur search aur 1> /dev/null
pacman --noconfirm -Rsn ${aur_package}
fi

View file

@ -151,7 +151,8 @@ function proot_cmd(){
${PROOT} ${proot_args} "${@}"
elif PROOT_NO_SECCOMP=1 ${PROOT} ${proot_args} "${SH[@]}" "-c" ":"
then
warn "Warn: Proot is not working, disabling SECCOMP instead. Expect the application to run slowly in particular when it uses syscalls intensively."
warn "Warn: Proot is not properly working. Disabling SECCOMP and expect the application to run slowly in particular when it uses syscalls intensively."
warn "Try to use Linux namespace instead as it is more reliable: junest -u"
PROOT_NO_SECCOMP=1 ${PROOT} ${proot_args} "${@}"
else
die "Error: Something went wrong with proot command. Exiting"