diff options
author | Jon Ringle <jringle@gridpoint.com> | 2015-01-21 10:28:18 -0500 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-01-26 14:19:00 +0100 |
commit | 744c9aa837266f5a8da07f4181590cbae9e7feb8 (patch) | |
tree | 18e8d861f343cb5d89ca06843ccfd86973c5b49d /Makefile.in | |
parent | 118543687829f22f7419792fdc7c622cdd7e3262 (diff) | |
download | ptxdist-744c9aa837266f5a8da07f4181590cbae9e7feb8.tar.gz ptxdist-744c9aa837266f5a8da07f4181590cbae9e7feb8.tar.xz |
make dist: tar --owner=0 --group=0
I have PowerBroker installed on my Ubuntu so that my machine is part of
our corporate Active Directory. A side effect of that is that the UID/GID
values are quite large and tar doesn't like it:
preparing PTXdist environment ... done
tar xf "ptxdist-2015.01.0_GP.tar"
echo -n "2015.01.0_GP" > "ptxdist-2015.01.0_GP/.tarball-version"
cd "ptxdist-2015.01.0_GP" && ./autogen.sh
tar -rf "ptxdist-2015.01.0_GP.tar" \
"ptxdist-2015.01.0_GP/configure" \
"ptxdist-2015.01.0_GP/.tarball-version"
tar: value 1432897037 out of uid_t range 0..2097151
tar: value 1432897037 out of uid_t range 0..2097151
tar: Exiting with failure status due to previous errors
make: *** [dist] Error 2
The git archive produces a tar archive with UID/GID of 0/0, so it seems
reasonable that the extra files being append should also be 0/0.
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 64dc80874..56ae407ee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -116,7 +116,7 @@ dist: dirty-check echo -n "${version}" > "${project}/.tarball-version" cd "$(project)" && ./autogen.sh - tar -rf "${project}.tar" \ + tar --owner=0 --group=0 -rf "${project}.tar" \ "${project}/configure" \ "${project}/.tarball-version" bzip2 "${project}.tar" |