Whamcloud - gitweb
LU-14198 build: Use pax tar format for build of dist-targets 15/40915/2
authorDaniel Ahlin <ahlin@google.com>
Tue, 8 Dec 2020 23:30:34 +0000 (00:30 +0100)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Jan 2021 07:16:20 +0000 (07:16 +0000)
   The tar ustar format used during build of dist-* targets (which is
   used when building e.g. rpms and debs) has several limitations and
   will prevent e.g. users with uid > 2097151 (2^21) from building
   these targets (or from passing the autoconf test for tar).

   This commit changes format from ustar to POSIX.1-2001/pax which
   will remove this and several other limits (with path-length being
   one relevant example, see LU-12078).

Signed-off-by: Daniel Ahlin <ahlin@google.com>
Change-Id: Ic66ca696ede2e359a04c179c6d630baacaa9bcb1
Reviewed-on: https://review.whamcloud.com/40915
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
configure.ac

index f4d47b8..16e9ee8 100644 (file)
@@ -9,7 +9,7 @@ LC_CONFIG_SRCDIR
 
 AC_CANONICAL_SYSTEM
 
 
 AC_CANONICAL_SYSTEM
 
-AM_INIT_AUTOMAKE([1.10 tar-ustar -Wno-portability subdir-objects])
+AM_INIT_AUTOMAKE([1.10 tar-pax -Wno-portability subdir-objects])
 AM_MAINTAINER_MODE([enable])
 
 AC_PROG_CC
 AM_MAINTAINER_MODE([enable])
 
 AC_PROG_CC