<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I was just about to write the same suggesting, <br>on my current Android ROM (<span tabindex="-1" id=":20n.2" style="background:none repeat scroll 0% 0% yellow" class="">OmniROM</span>) i have update system called <span tabindex="-1" id=":20n.3" style="background:none repeat scroll 0% 0% yellow" class="">OpenDelta</span> which use <span tabindex="-1" id=":20n.4" style="background:none repeat scroll 0% 0% yellow" class="">xdelta</span> to create the the update images. <br>

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">you can look at the code in github - <a href="https://github.com/omnirom/android_packages_apps_OpenDelta">https://github.com/omnirom/android_packages_apps_OpenDelta</a><br>

</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><b><font face="arial, helvetica, sans-serif">--<br>Rabin</font></b><br></div></div>
<br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 10:34 AM, shimi <span dir="ltr"><<a href="mailto:linux-il@shimi.net" target="_blank">linux-il@shimi.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On Thu, Jul 10, 2014 at 9:08 AM, Erez D <span dir="ltr"><<a href="mailto:erez0001@gmail.com" target="_blank">erez0001@gmail.com</a>></span> wrote:<br>

</div><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

hello<br>
<br>
<br>
i am dealing with rootfs images  i install on embedded linux<br>
<br>
from time to time i update the rootfs - add some file, remove other,<br>
update others, mknod etc ...<br>
<br>
currently, when i do this, i need to reinstall the image<br>
<br>
i am looking to create a patch, i can patch an old rootfs to update it<br>
<br>
however, diff does not handle create file, remove file, special files<br>
and binary files very well<br>
<br>
i am looking for a tool that can do that.<br>
<br>
anyone ?<br>
<br><br></blockquote><div><br></div></div><div>If modifying an _image_ is your purpose, and you want to avoid distributing the whole image, and you can do that 'offline' (i.e. you have two partitions, one active, second for upgrade and boot from - so you don't touch a system with a mounted filesystem), and you have your way to manage this versioning (i.e. you know for a fact what the previous image blob is, so what you need is really the blocks that changed from it) - maybe take a look at <a href="http://xdelta.org/" target="_blank">http://xdelta.org/</a><span class="HOEnZb"><font color="#888888"><br>



<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- Shimi<br></div></font></span></div><br></div></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>