bootstrap as a host operation

Will Partain <[email protected]> Tue, 01 Oct 2002 21:41:53 +0100
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
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>

  <GZIP>/our/bin/gzip</GZIP>
  <TAR>/our/bin/tar</TAR>
  <LD>/our/bin/ld</LD>
  <CC>/our/bin/gcc</CC>

  <bootstrap>
    <constraint><dependency type="normal" name="ark-prereq-utils" /></constraint>
    <constraint><dependency type="normal" name="arkbase" /></constraint>
    <constraint><dependency type="normal" name="gzip" /></constraint>
    <constraint><dependency type="normal" name="gnu-tar" /></constraint>
    <constraint><dependency type="normal" name="binutils" /></constraint>
    <constraint><dependency type="normal" name="gcc" /></constraint>
  </bootstrap>

  <bootstrap><code lang="python">
      print "bootstrap done"
      OK = 1
  </code></bootstrap>

No?

Will


-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm