|
|
@ -2309,11 +2309,12 @@ macro( tde_create_tarball )
|
|
|
|
if( "${TAR_VERSION}" MATCHES "GNU *tar" )
|
|
|
|
if( "${TAR_VERSION}" MATCHES "GNU *tar" )
|
|
|
|
set( TAR_SETOWNER "--owner=root;--group=root" )
|
|
|
|
set( TAR_SETOWNER "--owner=root;--group=root" )
|
|
|
|
set( TAR_REPRODUCIBLE "--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime" )
|
|
|
|
set( TAR_REPRODUCIBLE "--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime" )
|
|
|
|
|
|
|
|
list( APPEND TAR_REPRODUCIBLE "--mode=u+rw,go=rX,a-s" )
|
|
|
|
tde_read_src_metadata()
|
|
|
|
tde_read_src_metadata()
|
|
|
|
if( TDE_PKG_DATETIME )
|
|
|
|
if( TDE_PKG_DATETIME )
|
|
|
|
list( APPEND TAR_REPRODUCIBLE --mtime "${TDE_PKG_DATETIME}" )
|
|
|
|
list( APPEND TAR_REPRODUCIBLE --mtime "${TDE_PKG_DATETIME} UTC" )
|
|
|
|
elseif( TDE_SCM_MODULE_DATETIME )
|
|
|
|
elseif( TDE_SCM_MODULE_DATETIME )
|
|
|
|
list( APPEND TAR_REPRODUCIBLE --mtime "${TDE_SCM_MODULE_DATETIME}" )
|
|
|
|
list( APPEND TAR_REPRODUCIBLE --mtime "${TDE_SCM_MODULE_DATETIME} UTC" )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
elseif( "${TAR_VERSION}" MATCHES "bsd *tar" )
|
|
|
|
elseif( "${TAR_VERSION}" MATCHES "bsd *tar" )
|
|
|
|
set( TAR_SETOWNER "--uname=root;--gname=root" )
|
|
|
|
set( TAR_SETOWNER "--uname=root;--gname=root" )
|
|
|
|