Changeset 1740


Ignore:
Timestamp:
Aug 26, 2010, 3:25:51 PM (8 years ago)
Author:
matthijs
Message:

Switch to the right feed metadata when installing a package.

This fixes the installation of dependencies when installing a package. This
commit is nearly identical to r22815 from OpenWRT trunk, except for the part
that reverts OpenWRT r12615 (since the latter never got committed to the fon-ng
repository).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/scripts/feeds

    r1 r1740  
    256256        };
    257257
     258        # switch to the metadata for the selected feed
     259        get_feed($feed->[1]);
     260
    258261        my $pkg = $feed{$feed->[1]}->{$name} or return 1;
    259262        $pkg->{name} or do {
     
    286289        };
    287290
    288         # install all dependencies
     291        # install all dependencies referenced from the source package
    289292        foreach my $vpkg (@{$srcpackage{$src}}) {
    290293                foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) {
Note: See TracChangeset for help on using the changeset viewer.