<div>Hi Rob,</div>
<div> </div>
<div>First install pbuilder and debootstrap and read the man page of pbuilder. That will solve your problem.</div>
<div> </div>
<div>Personnaly, i have created my base.tgz by executing this command:</div>
<div> </div>
<div># pbuilder create --distribution dapper --mirror <a href="http://archive.ubuntu.com/ubuntu">http://archive.ubuntu.com/ubuntu</a> --basetgz /var/cache/pbuilder/ubuntu-dapper.tgz</div>
<div> </div>
<div class="gmail_quote">2010/10/29 Rob Lemley <span dir="ltr"><<a href="mailto:rclemley@booksys.com">rclemley@booksys.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">On 10/29/2010 03:31 AM, Michael Tautschnig wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">What is the best way to make the basefile.tar.gz? Should we<br>do a debootstrap and tar up the files before booting the<br>
bootstrapped system?<br> <br></blockquote>And, reading <a href="http://fai-project.org/fai-guide/ar01s07.html" target="_blank">http://fai-project.org/fai-guide/ar01s07.html</a>, I'm also<br>wondering where<br>I can put a hook in FAI to create the basefiles.tar.gz on a newly<br>
bootstrapped<br>system which is being built by fai.<br><br>It seems the hook would go right before the "configure" task. Correct?<br> <br></blockquote><br>I don't really get why you would want to create the .tar.gz file *on* a<br>
bootstrapped system; as you said, you'd use debootstrap and tar up the files,<br>which you could do on any system with debootstrap installed. Copy the .tar.gz<br>into your config space (the basefiles/ directory) and be happy.<br>
<br></blockquote><br></div></div>Sorry, that did seem a little redundant. I was wondering if there was anything done by FAI in addition to the debootstrap that might give us a "better" basefile, especially if the target is a specific hardware config on which many machines will be installed by FAI.<br>
<br>Also I'm thinking of adding a switch (such as variable or class) which would cause the basefile.tgz to be created (and possibly transmitted back to the server via the logfile saving mechanism).<br><br>Then we could easily flip the switch to generate an updated basefile.tgz without the manual steps of running debootstrap/tar outside of FAI. My experience has been that the basefile.tgz speeds up the FAI install, but after a time, the basefile.tgz gets "stale" and must be refreshed periodically as the packages become out of date.<br>
<br>I'm also thinking that possibly the basefiles.tgz could be built later, after more packages are installed, which would make an even faster FAI bootstrap install. Maybe this will work only if the hardware is identical?<br>
<br>Thanks,<br><font color="#888888">Rob<br><br></font></blockquote></div><br>