Hi Michael, Thanks for the updated patch. I have tested a build of riscv on rocky and it was fine.
Thanks Chris On 14/11/2023 9:19 am, Michael South wrote: > (Hopefully avoid line wrap this time.) > > Fix #4966: SB doesn't recognize distros Python 3.8 > > If build host has Python >= 3.8 then Source builder could not very > reliably determine paths for OS utilities such as bzip2. Problem was that > "package.dist()", formerly used to determine the Linux distribution, > was removed in Python 3.8. Patch makes sb/linux.py now prefer to use the > "distro" package if it's available. "distro" is avail since python 3.6, > was also back-ported for 2.6. > > Michael South (1): > sb/linux.py: More reliably recognize distribution > > source-builder/sb/linux.py | 89 +++++++++++++++++++++++++------------- > 1 file changed, 59 insertions(+), 30 deletions(-) > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel