[haikuports-commits] [haikuports/haikuporter] 24e576: Utils: handle hardlinks in xz archives. (#96)

  • From: GitHub <noreply@xxxxxxxxxx>
  • To: haikuports-commits@xxxxxxxxxxxxx
  • Date: Wed, 02 Nov 2016 22:33:59 -0700

  Branch: refs/heads/master
  Home:   https://github.com/haikuports/haikuporter
  Commit: 24e576ba78764d9724d3097aefb9950e22f83683
      
https://github.com/haikuports/haikuporter/commit/24e576ba78764d9724d3097aefb9950e22f83683
  Author: Jérôme Duval <jerome.duval@xxxxxxxxx>
  Date:   2016-11-03 (Thu, 03 Nov 2016)

  Changed paths:
    M HaikuPorter/Utils.py

  Log Message:
  -----------
  Utils: handle hardlinks in xz archives. (#96)

* use MyTarInfo also for piped inputs.
* adjust tarinfo.linkname to be relative to the entry parent directory:
at least the archives I tried, linkname is a full path to be resolved from
the archive base directory.


Other related posts:

  • » [haikuports-commits] [haikuports/haikuporter] 24e576: Utils: handle hardlinks in xz archives. (#96) - GitHub