<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 24, 2016 at 10:32 PM, Andre McCurdy <span dir="ltr">&lt;<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Mar 24, 2016 at 1:16 PM, Alexander D. Kanevskiy &lt;<a href="mailto:kad@kad.name">kad@kad.name</a>&gt; wrote:<br>
&gt; Existing compress framework for producing various compressed versions<br>
&gt; of images is powerfull enough to be extended for other uses, e.g. to<br>
&gt; convert types of images.<br>
&gt;<br>
&gt; It is possible to use it also to produce image checksums at the time<br>
&gt; of image generation. This commit adds support for all supported<br>
&gt; at the moment coreutils hashing algorithms: md5, sha1, sha224,<br>
&gt; sha256, sha384 and sha512<br>
&gt;<br>
&gt; Usage:<br>
&gt; IMAGE_FSTYPES_append = &quot; hddimg.sha256sum&quot;<br>
<br>
</span>I guess a common requirement is for hashes of the compressed images,<br>
not only the uncompressed image.</blockquote><div><br></div><div>you can easily chain them. </div><div>&quot; hddimg.sha256sum hddimg.xz hddimg.xz.sha256sum&quot;</div><div> </div></div><div><br></div>-- <br><div class="gmail_signature">br, Alexander Kanevskiy</div>
</div></div>