Update the check for building image

This commit is contained in:
Filippo Squillace 2019-11-17 10:09:10 +01:00
parent 2e8f5905c7
commit 85aeda4ac9
2 changed files with 2 additions and 1 deletions

View file

@ -75,6 +75,7 @@ then
builtin cd ${maindir}
curl -L -J -O -k "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=${aur_package}"
curl -L -J -O -k "https://aur.archlinux.org/cgit/aur.git/plain/${aur_package}.install?h=${aur_package}"
gpg --recv-keys DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A
/opt/makepkg/bin/makepkg -sfcd
pacman --noconfirm -U ${aur_package}*.pkg.tar.xz

View file

@ -152,7 +152,7 @@ function proot_cmd(){
elif PROOT_NO_SECCOMP=1 ${PROOT} ${proot_args} "${SH[@]}" "-c" ":"
then
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"
warn "Try to use Linux namespace instead as it is more reliable: junest ns"
PROOT_NO_SECCOMP=1 ${PROOT} ${proot_args} "${@}"
else
die "Error: Something went wrong with proot command. Exiting"