Hi,
> if you are willing to test it, I will commit it but please report back
> so I know that we are in a good shape
I've just started testing it and came across some problems I'd like to report
back. Some of them are not strictly related to the automatic drivers detection
but I'll still include them here.
Unable to open /tmp/dhcp.out: No such file or directory at /z/dosbin/install.pl
line 1013
Use of uninitialized value in concatenation (.) or string at
/z/dosbin/install.pl line 1156
Use of uninitialized value in pattern match (m//) at /z/dosbin/install.pl line
727
Until I specifically set these values in site/config.pl I got "Use of
uninitialized value" errors in install.pl for these too which even prevented
the drivers script to run.
$u->{'_temp'}->{'scan_windrivers_path'}
$u->{'_temp'}->{'scan_windrivers_options'}
$u->{'_temp'}->{'scan_windrivers_dest'}
In line 1778 (+/- a few lines) of install.pl the following line appears to need
changing:
The original is:
if ( (! defined $u->{'_meta'}->{'ntinstall_cmd'})
and ( $u->{'_temp'}->{'scan_windrivers'} ne '' )) {
But it should be:
if ( (defined $u->{'_meta'}->{'ntinstall_cmd'})
and ( $u->{'_temp'}->{'scan_windrivers'} ne '' )) {
With the "!" it doesn't create the drvscan folder at all.
After this I finally got the script to at least create the drvscan folder...
In line ~1789 the following line produces one "Operation not permitted" error
for every symlink it creates:
system "ln -s $i $d" ;
Using "cp -r $i $d" at least copies all the drivers to the local disk. It also
throws "Operation not permitted" errors but they do no harm here. The problem
with using "cp -r" is that it completely dies and makes the script exit to bash
if you try to copy more drivers than the system has RAM.
I'll continue testing as good as I can but currently it looks like this script
cant solve my problems with clients with 256MB RAM and driver collections that
exceed this size. Damn.
-
jens
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
unattended-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-devel