Skip to content

build: Change the tar format for generating tarballs to posix format (pax)

Summary

Change the tar format used for generating tarballs to pax interchange format defined by POSIX 1003.1-2001.

Purpose

The ustar format that is used to generate NM tarballs only supports a 21-bit uid/gid causing the make dist command (or similar commands involving tar archive creation) fails for users with high UIDs. Changing the tar format from ustar to pax format would fix this problem as it does not have such limitation and is aligned with future plan to switch to meson build system (which already uses the pax format).

Checklist

Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable
Edited by Stanislas Faye

Merge request reports