mkdeb: use compression level 0
PATCH 1/1 mkdeb: use compression level 0
This requires calling dpkg-deb directly and pass it -z0.
It reduces the time to run the mkdeb script from 14 seconds to 3 seconds on my workstation with SSD, from 87s to 15s on a machine with HDD. The deb file grows from 49M to 58M.
Signed-off-by Wei Liu <[email protected]>
--- tools/misc/mkdeb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/misc/mkdeb +1 -1
@@ -59,7 +59,7 @@ find deb/etc -type f -printf /etc/%P\\n >deb/DEBIAN/conffiles # Package it up chown -R root:root deb -dpkg --build deb xen-upstream-$version.deb +dpkg-deb --build -z0 deb xen-upstream-$version.deb # Tidy up after ourselves rm -rf deb
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Wei Liu writes ("[PATCH] mkdeb: use compression level 0"):
Quoted 7 lines
This requires calling dpkg-deb directly and pass it -z0.
It reduces the time to run the mkdeb script from 14 seconds to 3 seconds on my workstation with SSD, from 87s to 15s on a machine with HDD. The deb file grows from 49M to 58M.
Signed-off-by Wei Liu <[email protected]>
Acked-by Ian Jackson <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel