summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-03-25 10:53:07 +0100
committerAllan McRae <allan@archlinux.org>2015-03-26 05:44:13 +0100
commit721b785e73333bdbd1b4ba3b0505cc14918064ad (patch)
tree9336767b73f3469e6009d08f27f57a3a869c131b /lib/libalpm/util.c
parentedeafcc988012615dbbb1cc9ac02090ad2dd8dac (diff)
downloadpacman-721b785e73333bdbd1b4ba3b0505cc14918064ad.tar.gz
pacman-721b785e73333bdbd1b4ba3b0505cc14918064ad.tar.xz
be_package: fallback to standard filelist loading
In order to work properly, loading the filelist from an mtree file requires a libarchive patch that has not yet been included in an official release.[1] Under certain circumstances, an unpatched libarchive may refuse to read the mtree file due to inconsistencies between it and the user's file system. In order to allow alpm to recover in this situation, read the mtree data into a temporary filelist that is only copied over to the package if the entire read is successful. [1] https://github.com/libarchive/libarchive/commit/661684170b970ef7d6eff135b57e58a537e8bc53 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions