A couple of people have reported this problem.
Easy is an image file, and right now I am uploading 'easy-4.2-amd64.img'
it has two partition in it, a 7MiB fat12 and a 816MiB ext4 (without a journal).
Easy has a utility that will automatically mount the partitions of any image file, /usr/sbin/mount-img
Attached, with a false ".gz" appended.
mount-img should work in any pup that has ROX-Filer. I have made a change, it uses 'popup', a utility in Easy, but I put in a test so will fallback to using 'xmessage' if popup doesn't exist.
So if you do this in a terminal, two rox windows will appear:
Code: Select all
# mount-img easy-4.2-amd64.img
Run it again to umount:
Code: Select all
# mount-img
The problem is, if mount, then unmount, without doing anything, the checksum of the file has changed.
If put in "-o ro" for the mount operation, mounting the partitions read-only, the checksum is still changed.
I would like to put the question out there, is there some way to mount and unmount such that the checksum is unchanged?
In my case, I am using md5sum.
I have also attached /usr/local/easy_version/easy-update from the latest Easy. This can be used to update an existing installation of Easy to 4.2.
As a workaround to the checksum getting changed, easy-update will download 'easy-4.2-amd64.img' and immediately make a copy 'easy-4.2-amd64.imgPRISTINE'
That latter file can be kept, as I have put in place code in easy-update to download "xdelta" file when next do a version update. There will be difference-file only, the difference between 4.2 and 4.3, that will be downloaded, then applied to easy-4.2-amd64.imgPRISTINE to generate easy-4.3-amd64.imgPRISTINE
It's a woraround, would be happier if could find out how to mount and unmount the partitions without changing anything in the file.