OK, I've been looking into this some more, doing various debugging to trace 
down the problem.

The issue is in the sub windrivers_scan() in install.pl - this is a snippet 
from my current version of it with all my debugging bits added:

sub windrivers_scan() {

$u->{'_meta'}->{'test'} = 'test';

   if (! $is_linux) {
       print "Automated choose in Windows driver(s) collection unavailable.\n";
       $u->{'_meta'}->{'test2'} = 'test2';
       return undef;
   }

   ## Path to Windows driver(s) collection
   my $drvroot = dos_to_host ($u->{'_temp'}->{'scan_windrivers_path'});
   $u->{'_meta'}->{'test3'} = $drvroot;
   opendir DRVROOT, $drvroot
     or return undef;
   closedir DRVROOT;
   $u->{'_meta'}->{'test4'} = 'test4';

First, I was only getting test and test3 outputted to the unattend.txt file, 
and test3 was outputting as /z/sitewin_drivers instead of /z/site/win_drivers 
(a missing slash). It looks like dos_to_host isn't working properly. I changed 
the entry in config.pl to 

## Windows drivers scanning: drivers collection root path:
$u->{'_temp'}->{'scan_windrivers_path'} = "Z:\\site\\win_drivers" ;

(double slashes instead of single) and that 'fixed' the problem. (dos_to_host 
turns this into /z/site/win_drivers) Alternatively we could eliminate 
dos_to_host and put the linux path in config.pl

I'm now doing my first build with it 'working' (18 drivers found). Fingers 
crossed!

Steven

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to