Michael De Groote wrote: > seeing there a file named nt5x-install.patch in the attachment, i suppose > it's necessary to build a custom initrd containing the patched version of > this file, something that i currently don't have the time/skills/knowledge > for - nor will i have in the near future, alas - > > or can u provide one?
Sorry, I forgot to mention about nt5x-install in my previous posts. The good news is you don't need to to build another custom initrd :-) So what you have to do: 1. copy file <unattended>/linuxboot/misc/nt5x-install as <unattended>/install/site/nt5x-install and patch this last one. 2. Then update site/config.pl to ask to use this new file: config.pl:$u->{'_meta'}->{'ntinstall_cmd'} = '/z/site/nt5x-install' ; An why copy it into install/site/ ? Well, since this driver(s) search mechanism is not integrated into unattended project, a good idea will be to avoid modifying the unattended source(s). Here I use the <unattended>/install/site/ directory for all my specific stuff, hence the instructions below. Pierre Bourgin > Michael De Groote > ICT-coordinator Sint-Pietersschool Korbeek-Lo > ICT-support Sancta Maria Basisschool Leuven > > > On Wed, Oct 8, 2008 at 1:39 PM, Pierre Bourgin > <[EMAIL PROTECTED]>wrote: > >> Juan Jose Pablos a écrit : >>> Pierre Bourgin escribió: >>>> Hello, >>>> >>>> Please find attached an updated version of search-win-drivers.pl (and >>>> related patches for install.pl and nt5x-install). >>>> >>>> The search engin is now able to read Windows drivers .INF file(s) >>>> encoded with UTF-16le encoding. >>>> >>> cool >> good answer ;-) >> >>> In my enviroment I have a complain that it is using an uninitialized >>> value in pattern match >>> >>> I think that the issue is that on this line: >>> my $drvroot = dos_to_host ($u->{'_temp'}->{'scan_windrivers_path'});^M >>> >>> $u is uninitialized somehow. >> did you patched your dosbin/install.pl I provided, or did you just >> update your site/config.pl (in order to avoid modifying dosbin/install.pl) >> ? >> >> Do you have customs in site/config.pl ? Can you send it to see what's >> inside ? >> >> I can't reproduce this comportment; from my (patched) dosbin/install.pl, >> the relevant code lines are: >> >> 15 # Global variable holding unattend.txt file which we are generating. >> 16 use vars qw ($u); >> 17 $u = new Unattend::IniFile; >> >> 792 sub windrivers_scan() { >> >> 799 ## Path to Windows driver(s) collection >> 800 my $drvroot = dos_to_host >> ($u->{'_temp'}->{'scan_windrivers_path'}); >> >> 1443 $u->comments ('_temp', 'scan_windrivers_path') = >> 1444 ['Directory holding Windows drivers collection']; >> 1445 $u->{'_temp'}->{'scan_windrivers_path'} = >> 1446 sub { return $file_spec->catdir ( $u->{'_meta'}->{'dos_zdrv'}, >> "site", "win_drivers"); }; >> >> >> 1462 $u->comments ('_temp', 'scan_windrivers') = >> 1463 ['Retrieve automated scan output of Windows drivers (lspci >> based)']; >> 1464 $u->{'_temp'}->{'scan_windrivers'} = \&windrivers_scan; >> 1465 >> >> so $u is initialized on line 17, and >> $u->{'_temp'}->{'scan_windrivers_path'} settled on line 1445 . >> >> $u->{'_temp'}->{'scan_windrivers_path'} is used in windrivers_scan(), >> that is called on line 1464. >> >> So if $u is uninitialized, it should happens before usage of >> windrivers_scan(), no ? >> >> my $0.02 >> >> Pierre >> -- >> ARTERIS http://www.arteris.com >> The Network-on-Chip Company >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> unattended-devel mailing list >> unattended-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/unattended-devel >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel