Hi,

I was asking about this in pkg-discuss, and thanks Shawn who provided
the answer. I have patches ready for that (as well as using svn CBE
on osol-129), but I didn't get around to pushing that.

The part you're concerned about can be fixed by something like:

-       pfexec svccfg -s pkg/server "setprop pkg/port=10000"
+       pfexec svccfg -s pkg/server "setprop pkg/port=10000 "
+       # TODO: workaround - create initial repo with publisher.prefix - bug # 
12602
+       pfexec pkgsend -s file:///var/pkg/repo create-repository --set-property 
publisher.prefix=mypkgs

hnhn

Pavel Heimlich wrote:
>> FYI
>> on recent builds of osol (127+ ?), the presence of
>> package SUNWsfwhea is not detected by the pkginfo
>> command, hence the CBE installer does not detect it
>> too and that breaks the expect script for CBE install.
> 
> and the way we set up a repository is also broken, cause the pkg people broke 
> it^W^Wchanged the way it works by default
> 
> i.e. so far we do:
>         pfexec svccfg -s pkg/server "setprop pkg/port=10000"
>         pfexec svcadm refresh pkg/server
>         pfexec svcadm enable pkg/server
>         sleep 20
>         pfexec pkg set-authority -O http://localhost:10000 mypkgs
> 
> but this fails
> 
> there's a thread with hints at 
> http://opensolaris.org/jive/thread.jspa?threadID=117934 but I was not able to 
> figure out how to make it working, the commands I tried on b129 either failed 
> or froze.

-- 
Jan Hnatek
jan.hnatek at sun.com

Reply via email to