From: Stephen Rothwell Date: Wed, 11 Jun 2025 23:22:49 +0000 (+1000) Subject: simplify remote builds X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=02f4f146fa4b5a5c405285cbf6a3c166aaf9d35a;p=next-scripts simplify remote builds --- diff --git a/do_build b/do_build index 0c35ff8..f4e2848 100755 --- a/do_build +++ b/do_build @@ -29,7 +29,7 @@ obdir="$bparent/old/$tree" cmd="/bin/sh" if [ "$build_host" ]; then - cmd="ssh root@$build_host unshare -n su $(id -u -n)" + cmd="ssh -T $build_host" fi log_regex='/^[[:space:]]+$/d diff --git a/do_last_build b/do_last_build index 170854d..69a189e 100755 --- a/do_last_build +++ b/do_last_build @@ -6,7 +6,7 @@ set -e cmd="/bin/sh" [ "$build_host" ] && - cmd="ssh root@$build_host unshare -n su $(id -u -n)" + cmd="ssh -T $build_host" j1_factor=$(( j_factor / 2 )) @@ -104,14 +104,14 @@ $cmd <<-EOF echo Building: sparc64 defconfig d=../sparc64_defconfig [ -d \$d ] || mkdir \$d - cross -n -N -a sparc64 -k sparc64 -c $gcc_version -s O=\$d defconfig - cross -n -N -a sparc64 -k sparc64 -c $gcc_version O=\$d -j$j1_factor -O -s + cross -n -N -a sparc64 -k sparc64 -c 11.1.0 -s O=\$d defconfig + cross -n -N -a sparc64 -k sparc64 -c 11.1.0 O=\$d -j$j1_factor -O -s echo Building: sparc defconfig d=../sparc_defconfig [ -d \$d ] || mkdir \$d - cross -n -N -a sparc64 -k sparc -c $gcc_version -s O=\$d defconfig - cross -n -N -a sparc64 -k sparc -c $gcc_version O=\$d -j$j1_factor -O -s + cross -n -N -a sparc64 -k sparc -c 11.1.0 -s O=\$d defconfig + cross -n -N -a sparc64 -k sparc -c 11.1.0 O=\$d -j$j1_factor -O -s printf '\nWaiting for powerpc allyesconfig build\n\n' wait