29 Apr
2015
29 Apr
'15
1:14 p.m.
On 29 April 2015 at 08:43, Magnus Therning <magnus@therning.org> wrote:
When looking at the internals of an Arch package I learned about the mtree format. However, I didn't find any tool to create an mtree file myself.
It seems like the line that produces the .MTREE file is simply using `bsdtar`: From https://projects.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in#n1940: msg2 "$(gettext "Generating .MTREE file...")" LANG=C bsdtar -czf .MTREE --format=mtree \ --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' \ "${comp_files[@]}" * comp_files+=(".MTREE") -- Sébastien Leblanc