Folks,
        I've found two different problems with the kernel_picker scripts which
affect the use of multiple images.  The first is that if there are
multiple images available, the script
"/opt/oscar/packages/kernel_picker/scripts/post_clients" does not have
any option to select which image to use, and causes the kernel_picker.pl
script to prompt for selection, in a way that cannot be responded to. 
The fix for this is to pass the image option to
"/opt/kernel_picker/bin/kernel_picker.pl" the option "-oscarimage
image".  (However, I'm not sure how to find the image to pass.)

        Secondly, if the option "-oscarimage" is passed to
"/opt/kernel_picker/bin/kernel_picker.pl", it fails to correctly look up
the image directory correctly.  A patch for this is below:

--- kernel_picker.pl.dist       2003-02-07 08:10:16.000000000 +1100
+++ kernel_picker.pl    2003-08-27 13:12:10.000000000 +1000
@@ -337,7 +337,7 @@
   # Check for a valid command line option first
   if ($opt_oscarimage ne "")
     {
-      if (-d $systemimagesdir . $opt_oscarimage)
+      if (-d $systemimagesdir . '/' . $opt_oscarimage)
         { # User entered a valid oscar image on the command line
           $oscarimagename = $opt_oscarimage;
           return $oscarimagename;


Thanks
Frank
-- 
ac3
Suite G16, Bay 7, Locomotive Workshop   Phone:  02 9209 4600
Australian Technology Park              Fax:    02 9209 4611
Eveleigh   NSW   1430





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to