From: Stephen Rothwell Date: Mon, 17 Dec 2018 05:44:21 +0000 (+1100) Subject: Revert "use firejail for builds" X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;ds=sidebyside;h=c76cdbb6b174b364782a300bf6457595eed20f1a;p=next-scripts Revert "use firejail for builds" This reverts commit e2b1ad956622c4b4b6d98e412013e433411c7aac. but keeps the profile. Using firejail seems to be making error catching unreliable. --- diff --git a/do_build b/do_build index 3c4df6d..1b8ee97 100755 --- a/do_build +++ b/do_build @@ -27,7 +27,7 @@ else fi obdir="$bparent/old/$tree" -cmd="firejail --profile=$bin_dir/build.profile /bin/sh" +cmd="/bin/sh" [ "$build_host" ] && cmd="ssh root@$build_host unshare -n su $(id -u -n)" diff --git a/do_last_build b/do_last_build index 9e877d4..51d3fd3 100755 --- a/do_last_build +++ b/do_last_build @@ -4,7 +4,7 @@ set -e -cmd="firejail --profile=$bin_dir/build.profile /bin/sh" +cmd="/bin/sh" [ "$build_host" ] && cmd="ssh root@$build_host unshare -n su $(id -u -n)"