[ENH] Command-line argument access in the image
Brian Rice
water at tunes.org
Thu Dec 29 01:14:50 PST 2005
Actually, I realized and/or remembered that --load calls are
processed before --eval expressions (in "Image
handleStandardCommandOptions"). So:
slate --load src/mobius/init.slate --eval fullCleanBootstrap.
will currently do a basic bootstrap for you (I just tested this). You
could modify fullCleanBootstrap to automate extra things like
launching the new VM and image... I suppose.
On Dec 28, 2005, at 10:22 AM, Brian Rice wrote:
> On Dec 28, 2005, at 8:12 AM, Jeff Sparkes wrote:
>
>> I'd like to also see a --dump argument so that the bootstrap would
>> then become:
>> ./vm --load $(mobiusdir)/init.slate --dump slate.image
>> The last line of init.slate would call the fullCleanBootStrap method.
>
> --dump would have to be processed by the bootstrapping code itself.
> I think this needs to be specified better, since there are a lot of
> ways to do this and I'm not sure yet which is best overall. I'll
> think it over, thanks.
>
> Also, don't forget that the bootstrap is actually now just "make
> newboot", followed by "./vm.new <endianness>.new.image". We do have
> some automation.
--
-Brian
http://tunes.org/~water/brice.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20051229/568232ae/PGP.pgp
More information about the Slate
mailing list