Peter Tribble wrote:
> On Tue, 2006-04-11 at 15:51, Gary M. Gere wrote:
>   
>>> Anyone know offhand how the package install order is determined?
>>>       
>> The order in which packages are installed is influenced by the dependencies 
>> each package
>> declares in the "depend(4)" file. The remaining order is non-deterministic - 
>> for initial install it is
>> typically the order in which the packages are declared in the clustertoc, 
>> for a zone install it is the
>> order in which the packages are returned when reading the "/var/sadm/pkg" 
>> directory.
>>     
>
> OK. So I rewrote /var/sadm/pkg so that the packages should get returned
> in
> size order, just to see what difference it makes to a zone install.
>
> And it does make a slight difference. Package installation time went
> from
> just over 6 minutes to just over 5; total disk writes fell from 6.5G to
> 4.1G.
>
> But it's still mangling the install order quite considerably.
>
> Unfortunately I don't think LU (I think zone creation calls
> lucreatezone)
> has been opened yet. Nor the main installer. So it's hard for me to
> investigate this part any further.
>   
You can enable debugging messages for zone creation - edit 
/etc/default/lu and append this line:

LU_DEBUG_STATE=zon,xpi,cli

then install a zone - you will see a lot of debugging output on exactly 
what happens during a zone creation.

-GmG


Reply via email to