[PATCH] build: Use Python tarfile instead of pax

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 19 13:38:11 UTC 2020


On 19/08/2020 14:44, Joel Sherrill wrote:

> On Tue, Aug 18, 2020 at 5:52 PM Chris Johns <chrisj at rtems.org 
> <mailto:chrisj at rtems.org>> wrote:
>
>     On 18/8/20 9:16 pm, Sebastian Huber wrote:
>     > This patch is for the new build system.
>
>     <stand><clap><clap><clap>
>
>     Looking forward to this change.
>
>
> Me too.
>
> We determined that the Python tar defaulted to " POSIX.1-2001 (pax) 
> format"
> which is newer than the "IEEE Std 1003.2 (“POSIX.2”)" from the pax man
> page as ustar as best I can tell.

I was not really sure which format we need. The

+            tar = tarfile.TarFile(
+                task.outputs[0].abspath(), "w", format=tarfile.USTAR_FORMAT
+            )

seems to work.



More information about the devel mailing list