Closed mirkobrombin closed 3 months ago
Well there is no reliable solution to check for those changes. Making a diff takes definitely more time (and it is an inefficient way), introducing an huge downside.
We could use this PR in another way tho. Installing an image that is larger than 50% of the entire space will always break upgrades so it would probably be a good idea to check for that.
So instead of checking if the content is larger than the remaining space, we could check if the content is larger than 50% of the entire space. It would be a seperate issue though and should maybe be done in a different PR.
The new code checks if the volume of the destination folder, during the RootFS export, has enough space to host the image.
How did I test:
for instance, my
/Data/Games
folder is 217.8 GB.