scripts/feeds: print the source of packages installed
authorSteven Barth <cyrus@openwrt.org>
Tue, 7 Jul 2015 22:32:38 +0000 (22:32 +0000)
committerSteven Barth <cyrus@openwrt.org>
Tue, 7 Jul 2015 22:32:38 +0000 (22:32 +0000)
Can be helpful in diagnosing unexpected package overlaps between
feeds/core.

Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 46255

scripts/feeds

index f8f29cd9dd844d59bbae2410303c8d8d736b6465..7744dd068e6baa268eba594b4154468bd0896d65 100755 (executable)
@@ -497,8 +497,8 @@ sub install_package {
        $installed{$src} = 1;
 
        defined($override) and $override == 1
        $installed{$src} = 1;
 
        defined($override) and $override == 1
-               and warn "Overriding package '$src'\n"
-               or warn "Installing package '$src'\n";
+               and warn "Overriding core package '$src' with version from $feed->[1]\n"
+               or warn "Installing package '$src' from $feed->[1]\n";
 
        do_install_package($feed, $pkg) == 0 or do {
                warn "failed.\n";
 
        do_install_package($feed, $pkg) == 0 or do {
                warn "failed.\n";