>From the main anaconda file:

# booleans - value is 0 for false or non-zero for true
# test           - in test mode?
# xmode          - bring up text mode in a X terminal window?
# debug          - in debug mode?
# serial         - install via serial port (?)
# expert         - in expert mode?
# traceOnly      - print out loaded modules
# forceMount     - ? used ?
# localInstall   - install to chroot
# reconfigOnly   - allow user to reconfig installed box w/o reinstall

Then read the standard getopt parsing code:

    elif (str == '-t' or str == '--test'):
       test = 1

So, to put it in test mode, you do "-t".  You also have to specify a
method (this isn't as clear).  If you're basing off 6.2, you'll do:

-m dir://path/to/toplevel/cd/image

if you're basing off Pinstripe, you'll do

-m cdrom://path/to/toplevel/cd/image

So, something like:

/path/to/anaconda -t -m cdrom://path/to/toplevel/cd/image

should do something for you.  You'd be better off starting from the
.src.rpm in pinstripe and doing all your testing from
BUILD/anaconda-7.0/, though.

And, by the way, I'm not inclined to help you much more if you
continue speaking the way you are.

Matt

On Sat, Aug 05, 2000 at 07:15:14PM -0400, Frank Hale wrote:
> > 
> > What are you having trouble understanding?
> 
> I'd like to run the anaconda installer on my local drive. I've copied
> the entire install CD to /redhat_cd. Since I modified alot of the
> install packages and comps file. I made some new pixmaps and such for
> the installer. I'd like to run anaconda in test mode to see if I haven't
> screwed anything up. I'm trying to read the code to see how to run it in
> test mode but cannot get it to work. So far the only things that are
> different is the redhat logo pixmaps in the pixmaps directory. I've
> changed them so that they state that its not an official RH cd but a
> modified one. I will make other mods once I figure out how to test it,
> before I burn a coaster.



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to