Open dsk502 opened 2 months ago
At least in theory, the downloaded packages should be cached and re-used. Doesn't it work for you? Can you think of ways to improve the mechanism without introducing more complexity?
In FreeBSD, the downloaded packages are cached, so in this script (build.sh), it will not download again. But the problem is, it will install the packages again.
We are building a new filesystem image from scratch each time - how could we do this without installing what shall go into it?
Every time I build the helloSystem ISO, the packages and files used in building will be downloaded or installed again. It's a waste of time. I think the shell script can be modified to detect whether the packages are installed, and if their correct version are installed, skip the reinstallation.