From 85aeda4ac9b7ed7cf9721ccdb01217e9c288edd9 Mon Sep 17 00:00:00 2001 From: Filippo Squillace Date: Sun, 17 Nov 2019 10:09:10 +0100 Subject: [PATCH] Update the check for building image --- lib/checks/check.sh | 1 + lib/core/common.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/checks/check.sh b/lib/checks/check.sh index ac34171..6c550b3 100755 --- a/lib/checks/check.sh +++ b/lib/checks/check.sh @@ -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 diff --git a/lib/core/common.sh b/lib/core/common.sh index 996c24f..601e46c 100644 --- a/lib/core/common.sh +++ b/lib/core/common.sh @@ -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"