diff/patch rootfs
Rabin Yasharzadehe
rabin at rabin.io
Thu Jul 10 10:39:59 IDT 2014
I was just about to write the same suggesting,
on my current Android ROM (OmniROM) i have update system called OpenDelta
which use xdelta to create the the update images.
you can look at the code in github -
https://github.com/omnirom/android_packages_apps_OpenDelta
*--Rabin*
On Thu, Jul 10, 2014 at 10:34 AM, shimi <linux-il at shimi.net> wrote:
> On Thu, Jul 10, 2014 at 9:08 AM, Erez D <erez0001 at gmail.com> wrote:
>
>> hello
>>
>>
>> i am dealing with rootfs images i install on embedded linux
>>
>> from time to time i update the rootfs - add some file, remove other,
>> update others, mknod etc ...
>>
>> currently, when i do this, i need to reinstall the image
>>
>> i am looking to create a patch, i can patch an old rootfs to update it
>>
>> however, diff does not handle create file, remove file, special files
>> and binary files very well
>>
>> i am looking for a tool that can do that.
>>
>> anyone ?
>>
>>
>>
> 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 http://xdelta.org/
>
> -- Shimi
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140710/185b1bf9/attachment.html>
More information about the Linux-il
mailing list