keeleysam / instadmg

Automatically exported from code.google.com/p/instadmg
0 stars 0 forks source link

Cache image after some packages have been installed #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would cut down build times significantly if it was possible to cache the
base image after certain packages have been applied. Specifically, I'd like
to apply 10.5.8 before the base os is cached, as it takes up half of the
build time by itself. When experimenting with a bunch of CustomPKGs, it'd
be useful to apply all system updates before caching, and so on.

Original issue reported on code.google.com by MagerV...@gmail.com on 2 Oct 2009 at 12:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Image cleanup is needed after applying precache packages. New patch here.

Original comment by MagerV...@gmail.com on 3 Oct 2009 at 7:06

Attachments:

GoogleCodeExporter commented 9 years ago
This creates a number of issues with the base-image now not being predictable. 
So if you replaced the combo 
updater it would still be in the cached base image, and no checksumming is 
being done in the patch to solve 
that.

I have some ideas to accomplish similar goals in 2.0, where InstaUp2Date will 
move into InstaDMG and provide 
an opportunity to catch and handle these issues. In the mean time I can't put 
this in.

Original comment by kuehn.k...@gmail.com on 8 Oct 2009 at 3:07

GoogleCodeExporter commented 9 years ago
Right, this was merely a proof of concept that I was experimenting with, not a 
patch
suitable for production. To implement it properly you'd need make style 
dependencies,
which is probably a bit too ambitious for a bash project. Anyway, looking 
forward to
2.0 :)

Original comment by MagerV...@gmail.com on 8 Oct 2009 at 7:22