New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delta Update mechanism #1246
Comments
Here is a more "user friendly" delta_update.sh (script 2 above).
|
This is a good idea. I haven't tested this, but this certainly should be the standard way to produce incremental updates There are also issues with big changes that will cause some damage to current installations, like this one #1224 |
I tested both the delta generation and tarball installation with peebee's upupbb +N series and is fine. If this is to ever go through, it may need to also generate an md5sum file for the tarball ( |
Here is a pet with bit more verbal and tested version of the 3 scripts that can generate and install delta-based updates |
As I mentioned elsewhere I think that deltas could be used to update running puppies without any increase of the savefile/folder.
So below are 3 little scripts (2 & 3 could be fused) to generate SFSs, initrd and vmlinuz deltas from ISOs (create_deltas_from_iso.sh), check for and download tarballs with the appropriate deltas (delta_update.sh) and finally update and patch your files with the downloaded deltas (apply_delta_to_puppy). Repeat till no more updates.
I know that people are not very keen on updates, thus no pull request. On the other hand "discussions" in the forum are really frustrating specially for such a thing that is only for puppy builders.
So here they are for keeps, modifications and maybe discussion.
They work fine as far as I could test (download was tested against "bogus" files).
Obviously could be polished if ever integrated to puppy.
The text was updated successfully, but these errors were encountered: