And now use the new lookupLocation function to get the media path.
authorMichael Matz <matz@suse.de>
Thu, 7 Feb 2008 04:10:29 +0000 (04:10 +0000)
committerMichael Matz <matz@suse.de>
Thu, 7 Feb 2008 04:10:29 +0000 (04:10 +0000)
commit23d0bcc2017dd77a8b7ab2bd1aa80c4643b156db
tree932774ca60a9be571a0b36d430afb09270ddf490
parent96c043c3cc12d27e8de24449298ae4266a8b0744
And now use the new lookupLocation function to get the media path.
With the added hack of prepending "suse/" I can now actually install a
package and it indeed downloads the right rpm.  I've only tried dry
mode, so no actual installation happens.  It seems as if installing just
one package doesn't really trigger a solver run, though (the
dependencies don't seem to be marked as to-install).

Due to the hack with the hard-coded datadir this only works when the
package comes from a susetags repo (the others don't yet have media
locations anyway).
zypp/Package.cc