]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
distro/archlinux/this: generate the .MTREE file
authorWolfgang Bumiller <wry.git@bumiller.com>
Mon, 9 Sep 2013 10:08:57 +0000 (12:08 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Mon, 9 Sep 2013 10:08:57 +0000 (12:08 +0200)
distro/archlinux/this/Makefile

index fa863d100aa77a62c2664189637bcbad881d1d11..22fb6c3e93e945e76c5b37bece58408536879e06 100644 (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: