On Friday 09 June 2017 06:38 PM, Guillermo Polito wrote:
On Fri, Jun 9, 2017 at 2:51 PM, Yuriy Tymchuk <yuriy.tymchuk@me.com When I asked it 2 years ago people were like: "oh, but you can just download 1 sources file and use it by all the images". I donât care about that micro space savings, but fine, I said: have it your way. Now as we have to download sources all the time, why cannot we just have it IN the image?
We can, but that's something that requires changing lot's of things inside the image and it requires probably lot of testing.
What if the sources is appended to the image file with a special header. New code can relocate this pointer on the fly. The same technique can be applied to changes file too. A small script can split files for older code or combine them for new code. The resulting image file will be backward compatible. New code can preserve these files across saves. Just a thought .. Subbu