]> git.ozlabs.org Git - next-scripts/commitdiff
Revert "use firejail for builds"
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Dec 2018 05:44:21 +0000 (16:44 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Dec 2018 05:44:21 +0000 (16:44 +1100)
This reverts commit e2b1ad956622c4b4b6d98e412013e433411c7aac.

but keeps the profile.

Using firejail seems to be making error catching unreliable.

do_build
do_last_build

index 3c4df6dd99d13ac77ace60c1aa9646da12330cff..1b8ee97c0bf6f8cf97c658a29fd6417f5bc44abb 100755 (executable)
--- 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)"
 
index 9e877d4ded3939df9307407742a7db639f20cb43..51d3fd33d14b81aae3ddcc4f54652bdd8c21d80a 100755 (executable)
@@ -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)"