Jonathan Edwards wrote:

On Aug 27, 2009, at 5:44 PM, Robert Milkowski wrote:

Shawn - after having all that discussion I was thinking, are you proposing actually something like:

cat pseudo_code_pkgnodeps.sh
pkgrecive $1 | grep -v "^depend " | pkgsend -n $package--nodeps
pkg install $package--nodeps

More like:

pkgrecv -s <src_repo> -d <dest_repo> --no-deps $1
pkg install pkg://my_publisher/$1

This is not that bad then, especially if -d could be ommited and default local depo would be used.

sure .. i'd assume that if you're doing this, than you have a private local repo anyhow .. so why not:
pkg republish -s <src_repo> --no-deps $1
pkg install $1

I like it even more (being a subcommand to pkg rather then utilizing pkgrecv) - at least for this specific case. Then once there is an on-disk format I assume it would be possible to re-publish to it instead to remote repo.


of course it might be bit handy to still have the dependencies available in the consolidations (eg: entire) but not necessarily in the individual packages .. i mean - if we're not compiling as part of the install, who cares what order the packages get installed as long as they all get there and don't clobber each other?


I'm not sure if I understand what you mean exactly...

--
Robert Milkowski
http://milek.blogspot.com

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

Reply via email to