File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -898,8 +898,12 @@ def build_binary_pkgs(args_in, **kwargs):
898898 pkgcache (['--print-api-checksum' , '--vm' , 'fastr' ])
899899 finally :
900900 sys .stdout = sys .__stdout__
901+ checksum_lines = string_io .getvalue ().splitlines (keepends = False )
902+ mx .log (f"===== Output of 'mx r-pkgcache --print-api-checksum --vm fastr': =====" )
903+ mx .log (string_io .getvalue ())
904+ mx .log ("===== End of output of 'mx r-pkgcache --print-api-checksum --vm fastr' =====" )
901905 with open (os .path .join (pkgs_path , 'api-checksum.txt' ), 'w' ) as f :
902- checksum = string_io . getvalue (). splitlines ( keepends = False ) [- 1 ]
906+ checksum = checksum_lines [- 1 ]
903907 f .write (checksum )
904908 # creates the tarball
905909 result_tarball = os .path .join (dest_dir , pkgs_name + '.tar.gz' )
You can’t perform that action at this time.
0 commit comments