Hi,

I am not really sure if I understand you. I wrote that directory
'reloc' is empty, so I don't know how to do this step:
 # edit SUNWslim-utils/reloc/foo.txt

On Sat, Nov 15, 2008 at 4:42 PM, Ed McKnight <Edward.McKnight at sun.com> wrote:
> Others have said that this isn't your IPS problem, but here's how you do it:
>
> # ls -CF
> SUNWslim-utils/
>
> # edit SUNWslim-utils/reloc/foo.txt
>
> # pkgchk -d. SUNWslim-utils
>
sh-3.2# pkgchk -d. SUNWslim-utils
Checking uninstalled directory format package <SUNWslim-utils> from
</export/home/tester/tmp>
## Checking control scripts.
## Checking package objects.
NOTE: some pathnames are in private formats and cannot be verified
ERROR: /export/home/tester/tmp/SUNWslim-utils/install/copyright
    modtime <11/13/08 01:44:31 AM> expected <11/15/08 07:50:45 PM> actual
ERROR: /export/home/tester/tmp/SUNWslim-utils/pkginfo
    modtime <11/13/08 01:44:32 AM> expected <11/15/08 07:50:45 PM> actual
## Checking is complete.
sh-3.2#

> # <edit pkgmap as necessary; s/b obvious>
>
> Note that procedurally this is a really bad idea and is for emergency use
> only.
We didn't come in time for 2008.11 release. We want to ship LiveCD
which is complete translated (desktop icons...) for one Hebrew
project.
> If you're assembling a package for distribution you should be involved
> with building the package from the beginning. If you need to add localized
> stuff to a package you should deliver your files to the package owner to be
> included in the build, or have your own workspace and the authority to do a
> rebuild-and-distribute, or deliver a separate package containing only your
> localized files (modulo new IPS concepts and rules.)
>

Thanks for help.

Regards,

J.H.


> hth,  --emk
>
> Jan Hlodan wrote:
>>
>> Hello,
>>
>> I need to edit package SUNWslim-utils (add translated strings for
>> Desktop Icons in LiveCD)
>> This package can be found in
>> "/net/paradise.sfbay/export/integrate_dock/nv/nv_osol0811/i386"
>> I am able to extract "SUNWslim-utils/archive/none.bz2" :
>>
>> sh-3.2# bunzip2 none.bz2
>> sh-3.2# cpio -id < none
>> 195 blocks
>> sh-3.2# ls
>> jack  lib  none  sbin  usr  var
>>
>> and edit files in "SUNWslim-utils/archive/jack/Desktop/*"
>> (ddu.desktop, install_opensolaris.desktop, getting_started.desktop,
>> opensolaris-license.desktop).
>> But I have problem to publish these files into localhost repository as
>> a IPS package.
>>
>> I think that easier way is edit files (ddu.desktop,
>> install_opensolaris.desktop, getting_started.desktop,
>> opensolaris-license.desktop) via 'mc' (it allows me edit 'none'
>> archive directly, I don't have to unpack it first) and then publish
>> SVR4 package as a usual.
>> But I always get error message like this:
>>
>>
>> sh-3.2# eval `pkgsend open SUNWslim-utils at 0.5.11,5.11-0.101`
>> sh-3.2# pkgsend import SUNWslim-utils
>> Traceback (most recent call last):
>>  File "/usr/bin/pkgsend", line 350, in ?
>>    ret = main_func()
>>  File "/usr/bin/pkgsend", line 325, in main_func
>>    trans_import(pcfg, pargs)
>>  File "/usr/bin/pkgsend", line 276, in trans_import
>>    action)
>>  File "/usr/lib/python2.4/vendor-packages/pkg/publish/transaction.py",
>> line 101, in add
>>    datastream = action.data()
>>  File "/usr/lib/python2.4/vendor-packages/pkg/actions/generic.py",
>> line 118, in file_opener
>>    return open(data, "rb")
>> IOError: [Errno 2] No such file or directory:
>> 'SUNWslim-utils/reloc/jack/Desktop/getting_started.desktop'
>> sh-3.2#
>>
>> I don't know why I get this error, because directory 'reloc' was
>> already empty at the beginning.
>> I guess that checksum or pkgmap don't match...
>> Can you help me please, how to update pkgmap and pkginfo files or how
>> to recreate SVR4 package?
>>
>> Thank you.
>>
>>
>> Regards,
>>
>>
>



-- 
Jan Hlodan
Prague, Czech Republic
jan.hlodan at gmail.com
+420776263175

Reply via email to