-----Original Message-----
From: Pierre Bourgin [mailto:pierre.bour...@arteris.com] 

> > First I couldn't get it to run the correct nt5-install script, but I
> > worked out that that's because I use custom unattend.txt files in which
> > I had hard-coded ntinstall_cmd to avoid being prompted during setup, I
> > changed that to /z/site/nt5x-install and that part is 'fixed', in that
> > it runs the right script.

> Strange that you are prompted about it.
> It also strange that hardcoding it in unattend.txt file works.

Unattended in its default config prompts you to ask if you want to use 
ntx5-install, we would only ever answer yes to that question, so I edited our 
various unattend.txt files in /site (we use different ones and specify them in 
the csv) with ntinstall_cmd = nt5x-install - which removed the prompt.

> So, did you try to add the following line in install/site/config.pl :
>   ## Windows drivers scanning: use updated version of ntx5-install
>   $u->{'_meta'}->{'ntinstall_cmd'} = '/z/site/nt5x-install' ;

Yes, but it didn't work, as the part of the script which writes that out only 
runs if the _meta section doesn't already exist, which for us does. By changing 
our _meta section as I mentioned above it then fixes it. I've checked and 
viewed open files on the server while unattended is running and I can see it 
has opened /site/nt5x-install from the server.

This makes the install/dosbin/install.pl master script using the 
site/nt5x-install script instead of the unattended original one (the one 
I provide)

> first take a look into its generated output :
>    /c/netinst/logs/search-win-drivers.log
> It should contains the PCI device detection listing and the matching 
> windows drivers if any.

That file is not there

> You can also launch dosbin/search-win-drivers.pl directly from the shell 
> to see what's happening (it won't destroy anything by itself):

> $ /z/dosbin/search-win-drivers.pl -d /path/to/drivers

That seemed to work. The text scrolled too fast to read, but it matched a whole 
load of devices to drivers. I definitely do not get this output when unattended 
runs.

I'm thinking at this point that the problem is with install.pl, that it's not 
running properly. I'm actually running a bastard hybrid of rc2, rc3 and rc5, 
and I think my pre-patched install.pl is the rc3 version, so that might be the 
problem.

Steven Blackery

------------------------------------------------------------------------------
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to