Vamsee Priya writes:
> Thanks a lot for your reply. 
> 
> I install a package before calling luactivate and init 6 with the -R
> option on the new boot environment.
> The package which I install has a postinstall script which copies file
> named pack_X (here X stands for the OS version) into a particular
> directory based on the version(X) we get from `uname -r`. (Since I have
> upgraded I would expect the X to have new OS version)

That doesn't sound like an LU-compatible package to me.

> Since `uname -r` gives the present boot environment's OS version ( and
> not the ABE's) a wrong file is getting copied. 

Right.  That's exactly what I'd expect to have happen.

I wouldn't do this.

> So I would require a place where I could find the OS version of the
> alternate boot environment so that I could check that and copy the
> correct file. ( all this happens before luactivate and init 6. so we
> won't have the upgraded info with uname -r)

There's no way I know of to do that.  I'd suggest redesigning the
application so that this sort of thing isn't necessary.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to