diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2018-02-13 20:29:10 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-02-18 02:24:09 +0100 |
commit | 2b266a338718ccd994a4cef05f128eb0c1b9fdc7 (patch) | |
tree | d03ccc39f59f4736678de70d22b32725fd5d4982 /sysui/CustomTarget_rpm.mk | |
parent | bcc5790554f02d65b03eebcc47fb8859fcf44643 (diff) |
tdf#115554: Create tar archives using 'fakeroot'
'tar' must be run as root or faked to be run as root,
to make sure that file ownerships and permissions inside
the created tar archives are as desired (root:root).
Have fakeroot take care about creating an appropriate
environment rather than using the custom "libgetuid",
to no longer have to care about tar internals by ourselves.
This fixes the problem that file ownerships are incorrect
when tar version >= 1.24 is used for
* tar archives holding all the generated deb/rpm packages
(created in 'download.pm')
* tar archives created by using the
'--with-pacakage-format=archive' autogen option
(created in 'simplepackage.pm')
Change-Id: Id20ccce4d002ff95c75292eda8080ca299eee3a5
Reviewed-on: https://gerrit.libreoffice.org/49682
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sysui/CustomTarget_rpm.mk')
0 files changed, 0 insertions, 0 deletions