diff/patch rootfs

diff/patch rootfs

Constantine Shulyupin const at makelinux.co.il
Thu Jul 10 09:54:51 IDT 2014


Simple solution:
1. diff -N, --new-file                  treat absent files as empty

Comprehensive solution:
2. create git repository on rootfs and work with git init, commit,
diff, git-format-patch, am

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 ?
>
>
> btw: distro is emdebian/debian on armel
>
> thanks,
> erez.
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
Constantine Shulyupin
http://www.MakeLinux.co.il/
Embedded Linux Systems
Tel Aviv



More information about the Linux-il mailing list