RE: bootstrap as a host operation

"Shprentz, Joel [C] " <[email protected]> Tue, 1 Oct 2002 20:18:41 -0400
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <FF1CE445E882D51195420008C7861BA904D698A7@WSHX01>
Will Partain writes:

> Jonathan writes:
> 
> > Perhaps bootstrapping should be a property of a host
> > rather than a package.  ...
> > Then one might execute:
> > 
> >     % ark host bootstrap new-machine-1
> 
> Yes, that smells right.  Note that it's pretty easy to
> specify with absolutely nothing new; so... (for a *host*)
> 
>   <GZIP-BOOT>/usr/local/bin/gzip</GZIP-BOOT>
>   <TAR-BOOT>/usr/bin/tar</TAR-BOOT>
>   <LD-BOOT>/usr/bin/ld</LD-BOOT>
>   <CC-BOOT>/usr/bin/cc</CC-BOOT>
>
> ...
> 
>   <bootstrap>
>     <constraint><dependency type="normal" name="ark-prereq-utils"
/></constraint>
>     <constraint><dependency type="normal" name="arkbase" /></constraint>
> ...
>     <constraint><dependency type="normal" name="gcc" /></constraint>
>   </bootstrap>
> 
>   <bootstrap><code lang="python">
>       print "bootstrap done"
>       OK = 1
>   </code></bootstrap>

This looks great.  Instead of specifying this for a host, perhaps it should
be specified for a host prototype like sparc-solaris8.