On Mon, Dec 14, 2009 at 02:08:34PM -0600, Andy Speagle wrote: > > Ok... so answering some of this myself... it's looking like the $ARCH > variable in the pkginfo file is set to "sparc" rather than "i386" ... > > So, I've reasoned out that I can change this by doing the following on > the Solaris i86pc host. > > 1) "Unpack" the Solaris package... > pkgtrans syslog-ng_2.1.4_i386.pkg /tmp/syslog-ng > > 2) Edit the pkginfo file.. change the arch from "sparc" to "i386"... > /tmp/syslog-ng/ZOSsyslng/pkginfo > > 3) Note the new file size for the "pkginfo" file... > > 4) Calculate a new "sum" for the "pkginfo" file... > sum /tmp/syslog-ng/ZOSsyslng/pkginfo > > 5) Update the "pkgmap" file with the new size and sum.. > /tmp/syslog-ng/ZOSsyslng/pkgmap > > 6) "Repack" the Solaris package... > pkgtrans /software/syslog-ng syslog-ng_2.1.4_i386.pkg > > Now I can convert this to MPM format via "solaris2mpm"... which pooches > out an i386 package. Yay! > > > If I can figure out what magic is missing... perhaps I can approach > > BalaBit package maintainers to fix these... if'n I can't do it myself > > I'm not sure if anyone else cares about this... but I thought I'd share > the experience.
Yes, we basically use pkginfo as the primary source of information. Your description is definitely helpful. Thank you, Andy. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
