Hi, I am sorry for the wrong syntax. What a shame!
I just checked that there was a syntax error on my previous patch file. It should be like this. /usr/lib/systeminstaller/SystemInstaller/Partition/IA.pm @@ -266,6 +266,8 @@ # - detect architecture of install image my $instarch = list_image(location => $image_dir)->arch; $instarch =~ s/i.86/i386/; + # added to support ppc64-ps3 + $instarch = "ppc64-ps3" if (-d "/usr/share/systemimager/boot/ppc64-ps3"); # detect version of install kernel my $instkdir = "/usr/share/systemimager/boot/$instarch/standard"; my $kvers = kernel_version($instkdir . "/kernel"); I realized that the "-d" in the if-statement can confuse the if-statement line if it is used without a parenthesis. If SystemInstaller is not updated with my wrong patch yet, that would be just fine. :-) If anyone can update the IA.pm file with the above patch, it would be really great. Thank you, - DongInn DongInn Kim wrote: > Hi, > > Can anyone help me to support PS3 on SystemInstaller by applying the > following patch which I believe is not perfect at all though? > > /usr/lib/systeminstaller/SystemInstaller/Partition/IA.pm > > @@ -266,6 +266,8 @@ > # - detect architecture of install image > my $instarch = list_image(location => $image_dir)->arch; > $instarch =~ s/i.86/i386/; > + # added to support ppc64-ps3 > + $instarch = "ppc64-ps3" if -d /usr/share/systemimager/boot/ppc64-ps3; > # detect version of install kernel > my $instkdir = "/usr/share/systemimager/boot/$instarch/standard"; > my $kvers = kernel_version($instkdir . "/kernel"); > > Regards, > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sisuite-devel mailing list sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel