site  contact  subhomenews

Making the update more bullet-proof

June 28, 2022 — BarryK

Wanting to make the update more "bullet proof", I have put in an extra check in /usr/local/easy_version/easy-update.
It now checks the md5sum of the local pre-update image file.

That is, if you are currently running 4.2 and have /mnt/wkg/easy-4.2-amd64.img, the 'md5sum.txt' file will be downloaded and the image file checked.

It has to be correct, otherwise the difference-file won't work.

After an update to, say, 4.2.1, you will then have /mnt/wkg/easy-4.2.1-amd64.img and also /mnt/wkg/md5sum.txt
They can both be left there in anticipation of the next update.

The latest 'easy-update' script is here:

https://forum.puppylinux.com/viewtopic.php?p=60743#p60743   

Tags: easy