distro/archlinux/this: generate the .MTREE file

This commit is contained in:
Wolfgang Bumiller 2013-09-09 12:08:57 +02:00
parent 3f151321f6
commit 7af8c70bf9

View file

@ -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: