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 f8f29cd..7744dd0 100755 (executable)
@@ -497,8 +497,8 @@ sub install_package {
        $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";