vcs-snapshot.eclass: set -o (--no-same-owner) when unpacking, bug #645182
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 21 Jan 2018 00:01:59 +0000 (00:01 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 17 Mar 2018 23:18:35 +0000 (23:18 +0000)
commita10a1bf072ae90445fb6d238659a799d3bf55375
treec20cc0e0992c92c983c7efd17fd8a84d726fe9a9
parent22ca8a116d1695e1fb7d91311ab8d3ab7b686d63
vcs-snapshot.eclass: set -o (--no-same-owner) when unpacking, bug #645182

Fixes build failures in unprivileged containers like bug #645182:
  Package:    dev-python/pycparser-2.14
  >>> Unpacking source...
  tar: CHANGES: Cannot change ownership to uid 1000, gid 1000: Invalid argument

In such containers uid=0 can't really change file ownership.

Closes: https://bugs.gentoo.org/645182
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/vcs-snapshot.eclass