Commit 9fb3cb9d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

No need for setup-go-bootstrap anymore on host side

parent 16e5d589
...@@ -575,7 +575,6 @@ chroot mnt localedef -i en_GB -f UTF-8 en_GB.UTF-8 ...@@ -575,7 +575,6 @@ chroot mnt localedef -i en_GB -f UTF-8 en_GB.UTF-8
<antcall target="make-secondary"/> <antcall target="make-secondary"/>
<antcall target="mount-secondary"/> <antcall target="mount-secondary"/>
<antcall target="fill-secondary"/> <antcall target="fill-secondary"/>
<antcall target="setup-go-bootstrap"/>
<antcall target="unmount"/> <antcall target="unmount"/>
<antcall target="run-system-with-secondary-${BOARD}"/> <antcall target="run-system-with-secondary-${BOARD}"/>
<antcall target="check-build-success"/> <antcall target="check-build-success"/>
...@@ -674,13 +673,6 @@ rm /lib/systemd/system/build ...@@ -674,13 +673,6 @@ rm /lib/systemd/system/build
<chmod file="${sysdir}/lib/systemd/system/build" perm="755"/> <chmod file="${sysdir}/lib/systemd/system/build" perm="755"/>
</target> </target>
<target name="setup-go-bootstrap" if="GO_BOOTSTRAP">
<ant antfile="packages/go/build.xml" target="go-bootstrap"/>
<exec executable="mv" failonerror="true">
<arg line="-v ${builddir}/go-linux-${GOARCH}-bootstrap.tbz ${sysdir}/packages/go"/>
</exec>
</target>
<target name="build-image-www"> <target name="build-image-www">
<fail unless="BOARD" message="Correct machine type must be specified"/> <fail unless="BOARD" message="Correct machine type must be specified"/>
<antcall target="mount"/> <antcall target="mount"/>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<exec executable="./make.bash" dir="${makedir}/src"/> <exec executable="./make.bash" dir="${makedir}/src"/>
<move file="${builddir}/go" tofile="${builddir}/go1.4"/> <move file="${builddir}/go" tofile="${builddir}/go1.4"/>
<exec executable="tar" failonerror="true"> <exec executable="tar" failonerror="true">
<arg line="xf ${basedir}/build-system/packages/go/go1.14.4.src.tar.gz -C ${builddir}"/> <arg line="xf ${basedir}/build-system/packages/go/go1.16.5.src.tar.gz -C ${builddir}"/>
</exec> </exec>
<exec executable="./make.bash" dir="${makedir}/src"> <exec executable="./make.bash" dir="${makedir}/src">
<env key="GOROOT_BOOTSTRAP" path="${builddir}/go1.4"/> <env key="GOROOT_BOOTSTRAP" path="${builddir}/go1.4"/>
...@@ -42,9 +42,6 @@ ...@@ -42,9 +42,6 @@
<exec executable="mv" dir="${builddir}" failonerror="true"> <exec executable="mv" dir="${builddir}" failonerror="true">
<arg line="${builddir}/go/src/github.com/mendersoftware/mender-artifact-3.5.1 ${builddir}/go/src/github.com/mendersoftware/mender-artifact"/> <arg line="${builddir}/go/src/github.com/mendersoftware/mender-artifact-3.5.1 ${builddir}/go/src/github.com/mendersoftware/mender-artifact"/>
</exec> </exec>
<exec executable="${builddir}/go/bin/go" dir="${builddir}/go/src/github.com/mendersoftware/mender-artifact" failonerror="true">
<arg line="mod init"/>
</exec>
<exec executable="${builddir}/go/bin/go" dir="${builddir}/go/src/github.com/mendersoftware/mender-artifact" failonerror="true"> <exec executable="${builddir}/go/bin/go" dir="${builddir}/go/src/github.com/mendersoftware/mender-artifact" failonerror="true">
<arg line="mod vendor"/> <arg line="mod vendor"/>
</exec> </exec>
......
go @ bb21149a
Subproject commit 9e2e55a6951b01e08b6d5638803ba2e9c16334d6 Subproject commit bb21149ad25ca46ec8a10fcb1c4fbf330a6be5a6
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment