On 06/27/10 21:14, Dave Lin wrote:
On 2010年06月26日 02:24, Bart Smaalders wrote:
On 06/24/10 23:19, Dave Lin wrote:
Hi,
I'm using distro-import/importer.py to import desktop packages into
internal IPS repository. However, I got lots of unresolved dependencies
warnings as below,
********
system/network/avahi: unresolved dependency depend fmri=none
importer.depsource=usr/bin/avahi-publish importer.file=libc.so.1
importer.path=usr/sfw/lib importer.path=lib importer.path=usr/lib
type=require: suggest None
********
I think that is because importer.py only calculates the dependencies
within the imported packages. So I'm wondering is there any way to fix
this issue? For example, let importer.py to resolve the dependency
against the packages installed on the system or against the manifests
given on the command line?
If you examine the Makefile in the importer directory, you'll see
macros w/ REF_REPO; this can be used to "preload" the importer with
reference manifests. This is how we publish svr4 packages against
existing IPS repos...
Cool! That's really what I'm looking for.
I gave it a try, but failed. I re-set REF_REPO to my local mirror of
http://ipkg.sfbay/dev,
-REF_REPO=http://ipkg.sfbay/release
+REF_REPO=http://pkg.prc:9000
And ran the import script, but still got the unresolved dependency
warning(see the attached log)
Can you please shed me more light on it?
Thanks
Dave
You're not using a Makefile target that uses -R.
Take a look at the OSNET_CONSOLIDATION_OPTIONS macro...
- Bart
--
Bart Smaalders Solaris Kernel Performance
[email protected] http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss