diff/patch rootfs
Erez D
erez0001 at gmail.com
Thu Jul 10 11:55:53 IDT 2014
to make it clear:
i need to compare two directory trees - old and new, both holds files,
binaries, special files, symbolic and hard links. and create a patch
file
than, on another system which has a copy of the old dir tree (and
possible some modifications), i need to patch it to make it a 'new'
what i would like to have is somthing like rsync, which can create a
diff file ...
On Thu, Jul 10, 2014 at 10:39 AM, Rabin Yasharzadehe <rabin at rabin.io> wrote:
> 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
>>
>
More information about the Linux-il
mailing list