Glenn Lagasse wrote:
> * Danek Duvall ([EMAIL PROTECTED]) wrote:
>> On Thu, Mar 06, 2008 at 11:24:41AM -0800, Glenn Lagasse wrote:
>>
>>> 1 - Create an initial repo in the usual way (run make from
>>> ips/src/util/distro-import).
>>> 2 - Make changes to SUNWslim-utils in the slim-utils repo and make a
>>> package
>>> 3 - pkg.depotd -d /export/pkg-depot -p 10000
>>> 4 - pkgsend -s http://localhost:10000 send SUNWslim-utils
>>> 5 - pkg search -s http://localhost:10000 iotrace
>>> basename pkg:/[EMAIL PROTECTED],5.11-1:20080229T102431Z
>>> basename pkg:/[EMAIL PROTECTED],5.11-1:20080305T150135Z
>>>
>>> So, my updated package is in the repo (since iotrace is a new file I'm
>>> delivering)
>> Okay ... looks like iotrace was delivered before, too, but that's fine.  I
>> don't see anything wrong so far, other than SUNWslim-utils won't have any
>> dependencies, but that's irrelevant here.
>>
>>> 6 - Build an image using distro constructor, where the only change I
>>> make to the construction is to point at my local repo.
>> This step is a black box to me.  What do you get when you do
>>
>>     pkg image-create -F -a test=http://localhost:10000 /tmp/test-image
>>     pkg -R /tmp/test-image install SUNWslim-utils
> 
> A whole bunch of errors (this package is designed for the microroot)
> 

It shouldn't have had errors, though, because the slim-utils package is 
well-formed; all of the directories it places files into are also 
specified in the package.  So what were the errors?

> Looking in /tmp/test-image none of what I care about is there (semmingly
> because the dirs stuff goes into doesn't exist).
> 
>>     pkg status -av SUNWslim-utils
> 

That should have been:

pkg -R /tmp/test-image status -av SUNWslim-utils

(the below was for your installed OS instance since you didn't direct it 
to the alternate root).

> ([EMAIL PROTECTED]:../packages/utils)$ pkg status -av SUNWslim-utils 
> FMRI                                                             STATE
> UFIX
> pkg://repo/[EMAIL PROTECTED],5.11-0.79:20080205T165150Z      known
> ----
> pkg://repo/[EMAIL PROTECTED],5.11-0.75:20071114T203704Z      known
> u---
> pkg://repo/[EMAIL PROTECTED],5.11-0.75:20071031T175826Z      known
> u---
> 

Dave
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to