> Workaround: Use "isainfo -k", I usually do this, i.e.
> here: 

You have to consider that to be truly clean, a package must be a pure 
relocatable package.

What does that mean?

For example, it means that ISA one is installing from is not the same as the 
target ISA. Consider the scenario where the AutoClient or Diskless client 
server is a 32-bit i86pc Solaris system, and the target system the package is 
being installed on is a 64-bit sparc system: you perform

pkgadd -R/export/client7879/ ABCDblabla

which says to install the package ABCDblabla under a different root 
(/export/client7879/)

`isainfo -k` will return "i386" in the "postinstall" phase, but the target 
system is a 64-bit sparc platform system. The whole thing will "fall on the 
nose" and create a wrong directory structure, 
/export/client7879/opt/abcd/lib/64 -> amd64 instead of 
/export/client7879/opt/abcd/lib/64 -> sparcv9, which would have been the 
correct thing to do. There must be another way.

That's why I wrote earlier: creating clean and correct packages is an art. 
There are so many factors to consider.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to