mirror of
https://github.com/fsquillace/junest.git
synced 2026-08-01 15:30:04 +00:00
Add aurutils to the check build script
This commit is contained in:
parent
691369068d
commit
313ef30662
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue