Hi everyone.

Sorry for the late response.  I just saw this...

Live CD isn't always a throw-away environment, as the booted environment 
is cpio-ed onto a target hard drive when installed.  Driver Update is a 
project which takes advantage of this, using the DDU to install missing 
drivers in the booted environment, before the booted environment is 
cpio-ed to the hard drive.

DDU (Device Driver Utility) will be enhanced to install SVR4 packages to 
get drivers.  The contents file will need to be accurate on the hard 
drive w.r.t. these SVR4 packages.

This thread has stated that this service runs
    pkgadm sync -q
Seems that this command should be run in a live CD environment before 
doing a cpio install to the hard drive.

This could be done when preparing the system for (cpio) install, or 
possibly after the DDU installs an SVR4 package on the live system.  IMO 
the former is better, since that will capture all SVR4 packages, even 
those not installed via the DDU.

    Thanks,
    Jack

On 11/06/09 03:47, Casper.Dik at Sun.COM wrote:
>   
>> They don't have by default, but we still might want to apply
>> SVr4 packages to the booted install environment - please see below.
>>     
>
>
>   
>> [3] Finished DC build and booted resulting AI ISO image - it contains 
>> lock files:
>>
>> $ ls -la /var/sadm/install/
>> total 18
>> drwxr-xr-x   4 root     bin          512 Nov  6 01:08 .
>> drwxr-xr-x   8 root     sys          512 Nov  6 00:54 ..
>> -rw-r--r--   1 root     root           0 Nov  6 00:47 .door
>> lrwxrwxrwx   1 root     root          36 Nov  6 00:58 .lockfile -> 
>> /mnt/misc/var/sadm/install/.lockfile
>> lrwxrwxrwx   1 root     root          36 Nov  6 00:58 .pkg.lock -> 
>> /mnt/misc/var/sadm/install/.pkg.lock
>> lrwxrwxrwx   1 root     root          43 Nov  6 00:58 .pkg.lock.client 
>> -> /mnt/misc/var/sadm/install/.pkg.lock.client
>> drwxr-xr-x   2 root     bin          512 Nov  6 01:08 admin
>> lrwxrwxrwx   1 root     root          35 Nov  6 00:58 contents -> 
>> /mnt/misc/var/sadm/install/contents
>> lrwxrwxrwx   1 root     root          43 Nov  6 00:58 gz-only-packages 
>> -> /mnt/misc/var/sadm/install/gz-only-packages
>> dr-xr-xr-x   2 root     bin          512 Nov  6 00:47 logs
>>
>> However, those are just symbolic links to the read-only area:
>>     
>
> So /var/sadm/install is readable but /tmp/misc is not readable?
>
>
>   
>> # mount -p
>> ...
>> /tmp/solarismisc.zlib - /mnt/misc hsfs - no 
>> ro,nosuid,noglobal,maplcase,rr,traildot
>> ...
>>
>> This leads to the situation when pkgserv SMF service goes
>> sometimes to the maintenance mode during boot, but not always.
>>
>> If I remove those 'dot' files from DC proto area and they don't end up
>>     
> in the final ISO imageimage, pkgserv is allowed to manipulate them,
>   
>> since /var/sadm/install/ directory is writable:
>>     
>
>
> So who creates the symbolic links?  I think we should not put the symbolic
> links there.
>
>
>
>   
>> Assuming that we still would like to support installation of SVr4 packages
>> during the installation process into running installation environment as 
>> well
>> as on target (e.g. in order to deliver missing third party device driver
>> which is in SVr4 format), can we still go with pkgserv SMF service disabled
>> in the installation environment or is there any reason why it should be
>> enabled ?
>>     
>
> No reason for the LiveCD & AI-install; these are really "throw away"
> environments.  You will need to have a readable /var/sadm/install 
> directory if you want to install packages, though.
>
> Casper
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20091207/048deef3/attachment.html>

Reply via email to