mirror of
https://github.com/fsquillace/junest.git
synced 2026-07-20 17:59:38 +00:00
Update the check for building image
This commit is contained in:
parent
2e8f5905c7
commit
85aeda4ac9
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue