From 7af8c70bf9377b36b3255312ea90939090ebdb2c Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 9 Sep 2013 12:08:57 +0200 Subject: [PATCH] distro/archlinux/this: generate the .MTREE file --- distro/archlinux/this/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/distro/archlinux/this/Makefile b/distro/archlinux/this/Makefile index fa863d1..22fb6c3 100644 --- a/distro/archlinux/this/Makefile +++ b/distro/archlinux/this/Makefile @@ -40,7 +40,11 @@ base: @echo "makepkgopt = zipman" >> $(PKGINFO) @echo "makepkgopt = purge" >> $(PKGINFO) @echo "makepkgopt = !upx" >> $(PKGINFO) - @tar -cJvf $(PKG) -C $(PKGDIR)/ .PKGINFO usr/ + @tar -C $(PKGDIR) -czf $(PKGDIR)/.MTREE \ + --format=mtree \ + --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' \ + .PKGINFO usr/ + @tar -cJvf $(PKG) -C $(PKGDIR)/ .PKGINFO .MTREE usr/ @rm -rf $(PKGDIR) clean: -- 2.39.2