Hi David,

I am playing with 106 IPS repositories available
on ipkg.sfbay:29047 for x86 and ipkg.sfbay:29051 for
Sparc (both available only internally) trying to
build reduced AI images using official repositories.

As far as x86 image is concerned, it seems that
SUNWauto-install package depends on SUNWgui-install
instead of SUNWinstall - SUNWgui-isntall then pulls Gnome/
Gtk/X11 stuff into image.
Looking at Sparc repository, SUNWauto-install depends
on SUNWinstall, which is what we want to accomplish :-)

I have manually tried to create image and install SNUWauto-install
package.

Sparc
-----
# pkg image-create -F -a opensolaris.org=http://ipkg.sfbay:29051 /tmp/a
root at tio-nb:~# pkg -R /tmp/a install SUNWcsd
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1       15/15     0.01/0.01

PHASE                                        ACTIONS
Install Phase                                  50/50
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                                1/1

# pkg -R /tmp/a install SUNWcs
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  26/26   3136/3136   59.98/59.98

PHASE                                        ACTIONS
Install Phase                              6586/6586
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                              26/26

# pkg -R /tmp/a install SUNWauto-install
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  10/10   2720/2720   14.09/14.09

PHASE                                        ACTIONS
Install Phase                              3697/3697
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                              10/10

# du -sh /tmp/a
339M    /tmp/a

# pkg -R /tmp/a list | grep SUNWgui-install
# pkg -R /tmp/a contents -t depend -o action.raw SUNWauto-install
ACTION.RAW
depend fmri=SUNWcsl at 0.5.11-0.106 type=require
depend fmri=SUNWinstall-libs at 0.5.11-0.106 type=require
depend fmri=SUNWinstall at 0.5.11-0.106 type=require
depend fmri=SUNWPython at 2.4.4-0.106 type=require


x86
---
# mkdir /tmp/x86_106
# pkg image-create -F -a opensolaris.org=http://ipkg.sfbay:29047 
/tmp/x86_106/

# pkg -R /tmp/x86_106/ install SUNWcsd
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1       15/15     0.01/0.01

PHASE                                        ACTIONS
Install Phase                                  50/50
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                                1/1

# pkg -R /tmp/x86_106/ install SUNWcs
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  20/20   3104/3104   61.54/61.54

PHASE                                        ACTIONS
Install Phase                              5792/5792
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                              20/20

# pkg -R /tmp/x86_106/ install SUNWauto-install
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  49/49 10566/10566 115.10/115.10

PHASE                                        ACTIONS
Install Phase                            13309/13309
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                              49/49

# du -sh /tmp/x86_106/
867M    /tmp/x86_106/

# pkg -R /tmp/x86_106/ list | grep SUNWgui-install
SUNWgui-install                               0.5.11-0.106    installed  
----

# pkg -R /tmp/x86_106/ contents -t depend -o action.raw SUNWauto-install
ACTION.RAW
depend fmri=SUNWcsl at 0.5.11-0.106 type=require
depend fmri=SUNWinstall-libs at 0.5.11-0.106 type=require
depend fmri=SUNWgui-install at 0.5.11-0.106 type=require
depend fmri=SUNWPython at 2.4.4-0.106 type=require

Looking at this output, might you have any idea, why
SUNWauto-install depends on SUNWgui-install package
instead of SUNWinstall one ?

Do you think, we might need to do more refactoring of
install packages, or if this dependency might be resolved
during process of importing those packages into IPS repository ?

Thank you very much,
Jan



David.Comay at Sun.COM wrote:
>> I think that waiting for 106 IPS repo is a good idea.
>> Looking at the 105 one, it doesn't contain changes for
>> split SUNWgui-install and in order to be sure that
>> images are constructed correctly we should verify
>> also using official IPS repo.
>
> Right, the split SUNWgui-install came in after build 105 but it will be
> there for 106.


Reply via email to