Title: [Oscar-users] using mksiimage for non "native" image...
Hey Bruce:
 
Did you cut & paste the command you used or did you type it out?  There seems to be a typo with --arch?
 
Anyways, the command should look like:
 
mksiimage -A --name $$vars{imgname} --location $$vars{pkgpath
} --filename $$vars{pkgfile} --arch $$vars{arch} --path $$vars{imgpath}/$$vars{i
mgname} --verbose $$vars{extraflags}
 
So for your case:
 
mksiimage -A --name redhat9image --location /tftpboot/rpm/redhat9/ --filename /opt/oscar/oscarsamples/redhat-9-i386.rpmlist.sorted --arch i386 --path /var/lib/systemimager/images/redhat9image --verbose
 
Something like that.  Please let me know how it goes, I will be interested in your results.
 
Cheers,
 
Bernard


From: [EMAIL PROTECTED] on behalf of Bruce Becker
Sent: Thu 15/09/2005 01:15
To: OSCAR users
Subject: [Oscar-users] using mksiimage for non "native" image...

Hello oscar friends

We have a slight problem : we have a production cluster running Fedora
Core 3 on server and nodes, which have a native 2.6 kernel. However,
we have an application which requires a native 2.4 kernel. I thought
of using mksiimage to build a redhat9 image, using the rpms from that
distro's cds. The problem is, I'm doing this on a machine which is
running Scientific Linux 4 for x86_64. I didn't really expect it to
work straight away, but the error message I am getting is confusing :
[EMAIL PROTECTED] oscarsamples]# mksiimage -a --name redhat9image
--filename /opt/oscar/oscarsamples/redhat-9-i386.rpmlist.sorted
--location /tftpboot/rpm/redhat9/ --arch i368-v
WARNING: Missing required packages, continuing:
        systemconfigurator
 at /usr/bin/mksiimage line 184
ERROR: The following RPMs are missing from /tftpboot/rpm/redhat9/:
 XFree86-Mesa-libGL
 XFree86-Mesa-libGLU
 XFree86-font-utils
 XFree86-libs
 XFree86-libs-data
 XFree86-xfs
 apmd
 compat-gcc
 compat-gcc-c++
 compat-gcc-g77
 compat-gcc-java
 compat-gcc-objc
 compat-libgcj
 compat-libgcj-devel
 compat-libstdc++
 compat-libstdc++-devel
 dev
 dev86
 ipchains
 lilo
 losetup
 lvm
 mkbootdisk
 modutils
 mount
 ncftp
 nkf
 perl-CGI
 perl-DB_File
 pidentd
 raidtools
 redhat-config-date
 redhat-release

 at /usr/lib/systeminstaller/SystemInstaller/Package.pm line 181
Failed to find files for all packages. at /usr/bin/mksiimage line 184
FATAL: Can't remove /var/lib/systemimager/scripts/redhat9image.master!
Package install failed
 at /usr/bin/mksiimage line 190
 at /usr/bin/mksiimage line 191

I checked the rpm directory and these files are all there. What am I
doing wrong ?

Thanks,
Bruce

PS - would this be better posted to the SIS users list ?
--
Bruce Becker
DAPNIA/SPhN/CEA Saclay
Fr-91191 Gif sur Yvette Cedex
tel :(w) +33 1 69087482 | (m) + 33 62 739 5720 | (f) +33 1 69087584
IM  : AIM/Jabber - brucellino | Yahoo - uctbruce
WEB :http://hep.phy.uct.ac.za/~becker "Viel hilft viel"


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to