diff/patch rootfs
shimi
linux-il at shimi.net
Thu Jul 10 10:34:16 IDT 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140710/49a839b9/attachment.html>
More information about the Linux-il
mailing list