Re: Trouble with beta8
Quoting Mike Eriksen <kme3@...>:
> On Wed, 4 Jan 2006, Miles Roper wrote:
>
> > buildtime config shouldn't have changed, use the same config file. ie
> > thinstation.conf.buildtime (or what ever your build.conf file says). need
> to
> > sort out how to do an example file for this.
>
> Ah, I see. I thought that since ts.conf.sample was generated on the fly a
> ts.conf.buildtime was unavailable. But a copy of ts.conf.sample works
> nicely as a buildtime (except it's now a two pass build...)
As per other reply, a seperate script for generating the sample (which could
also be called from the build), would probably allow for this (eg. build_sample
build.conf thinstation.conf.buildtime).
>
> > however, as I've discussed with trevor, having an example buildtime config
> > for TS-O-Matic is somewhat more problematic.
>
> OK, why?
Only because I need something for the thinstation.conf.buildtime in Step 2.....
And I can't do a 2 pass process.
>
> I really, really believe we *need* a sane buildtime. As it is now (with
> b8) the boot process will simply hang at "...bootmenu - session -" with no
> explanation if the tftp server isn't found. Terrible!
>
> I made a small change to the build script as a test. I moved the
> generation of ts.conf.sample to the top and added:
>
> echo "SESSION_0_TYPE=telnet" > thinstation.conf.buildtime
> echo "SESSION_0_TELNET_SERVER=localhost" >> thinstation.conf.buildtime
> cat ./thinstation.conf.sample >> thinstation.conf.buildtime
>
> This works nicely and dumps the user into a telnet session (which is
> certain to exists) if everything else fails. Yes, it's ugly, but it works.
>
> The user will make some effort to setup the stuff in conf/ the way he
> expects things to run, so the settings in ts.conf.sample should be fairly
> safe.
I too like the idea of a 'failsafe' buildtime, which can be 'updated'.
>
> Another thing that may clean up thing even more would be to have the
> package config files sym linked from conf/. E.g. conf/ica.conf ->
> packages/ica/build/conf/session/ica. This way the user will only have to
> edit stuff in conf/ and not have to traverse the packages themself.
>
This doesn't allow for contribs etc. Should they be editting those file directly
anyway?
Trevor B
> Mike
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click