A Solaris IPS package has lines like this:
set name=variant.arch value=sparc value=i386
file e942284dc5fe347f3e826065012bd05274ca025b chash=fdce5515b78ed090336e00a24630e348c9c6735e elfarch=sparc elfbits=32 elfhash=92fd592518c45f2ee4ab31eef7ab5d1cf32abcf5 group=bin mode=0755 owner=root path=usr/lib/inet/dhcp/nsu/rfc2136.so.1 pkg.csize=20740 pkg.size=36752 variant.arch=sparc
How can executables for both architectures be included in one package?
I believe the reccommended method is:
1. have a repo for SPARC and a repo for x86.
2. Build on each platform and publish to the corresponding repo.
3. Use pkgmerge to combine the packages into a third, merged repo