I did that, and the architecture entry was shown in the normal build image window. However, it failed as soon as it tried to execute the mksiimage command. The following message appears,
[SystemInstaller::Image :: Line 67] rmimage oscarimage FATAL: Can't remove /var/lib/systemimager/scripts/oscarimage.master! > Ok, to try and simplify this, instead of the previous change, try this > one. About 20 lines down from the $arch change you just made, there is a > %vars hash being defined. In the "noshow" stanza of that hash, you'll > see a line: > > arch => 1, > > If you delete that line and go through the normal process, the > architecture entry will be shown in the normal build image window. > > Mike > > > On Fri, 2004-02-20 at 11:23, [EMAIL PROTECTED] wrote: > > Quoting Michael Chase-Salerno <[EMAIL PROTECTED]>: > > > > > On Fri, 2004-02-20 at 08:48, [EMAIL PROTECTED] wrote: > > > > Quoting Michael Chase-Salerno <[EMAIL PROTECTED]>: > > > > > > > > In the script "oscar_wizard" in the scripts directory, there is a > > > > > subroutine called "build_oscar_image". On about the 10th line of > that > > > > > subroutine, it is setting the architecture: > > > > > > > > > > my $arch = (uname)[4]; > > > > > $arch =~ s/i.86/i386/; > > > > > > > > > > Just add a line like: > > > > > > > > > > $arch="<arch>" > > > > > > > > > > replacing <arch> with your desired architecture, after that second > line. > > > > > > > > I'm assuming you mean the line that says: > > > > > > > > my $hostname = (uname)[1]; > > > > my ($shorthostname,$domainname) = split(/\./,$hostname,2); > > > > > > > > I should put $hostname="i586" > > > > > > > > > > > No, I don't mean the hostname line. This is the architecture you're > > > having trouble with. It has nothing to do with the hostname. Changing > > > that line will probably cause other things to go wrong. You need to find > > > the lines I described and make the change I described. Its in the > > > build_oscar_image subroutine, not the build_oscar_clients one that you > > > are looking in. > > > > > > Mike > > > -- > > > Michael Chase-Salerno [EMAIL PROTECTED] > > > IBM Linux Technology Center Poughkeepsie, NY > > > Advanced Linux Response Team http://www.ibm.com/linux > > > > Ok, I've made the correct change. However, mksiimage still shows that the > image > > is the wrong architecture. I am just supposed to add the new line after > those > > two, right? I'm going to try a fresh install and then do it again. Let me > know > > if you can think of any reason, why it's not changing to the new arch. Is > there > > somewhere else I have to change as well? > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > > Build and deploy apps & Web services for Linux with > > > a free DVD software kit from IBM. Click Now! > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > > _______________________________________________ > > > Oscar-users mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/oscar-users > > > > > > > > > > > > > ---------------------------------------- > > This mail sent through www.mywaterloo.ca > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Oscar-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/oscar-users > -- > Michael Chase-Salerno [EMAIL PROTECTED] > IBM Linux Technology Center Poughkeepsie, NY > Advanced Linux Response Team http://www.ibm.com/linux > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Oscar-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/oscar-users > ---------------------------------------- This mail sent through www.mywaterloo.ca ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
