On Thu, 2017-11-09 at 13:02 +0100, Thomas Lange wrote: > > > > > > On Fri, 10 Nov 2017 00:43:12 +1300, Andrew Ruthven <andrew@ > > > > > > etc.gen.nz> said: > > > Hmm, this didn't actually work, as it turns out. I'd only ever > used > > this method for building i386 on amd64, which does work. Trying > to use > > it for other architectures blew up. > FAI already supports building disk images for forgeign > architectures in fai-diskimage. So, I wonder why we need to call > debootstrap in the Makefile. In FAI we also have the script > basefiles/mk-basefile, which also support creating of base images for > a foreign architecture. Mabye this should be moved to /usr/sbin.
Ah, because I didn't initially see that fai-diskimage can do this. I did discover mk-basefile but I felt that calling a command inside /usr/share/doc was bad form. I added support for building the basefile, and caching it, because that was a significant part of the run time for building the images, and the packages going into the basefile don't tend to change that often within with a ~24 hour period. Cheers, Andrew -- Andrew Ruthven, Wellington, New Zealand [email protected] | linux.conf.au 2018, Sydney, AU New Zealand's only Cloud: | Just a little bit of history https://catalyst.net.nz/cloud | http://linux.conf.au
