diff mbox

[OpenWrt-Devel,v2] scripts/feeds: print the source of packages installed

Message ID 1432719966-30168-1-git-send-email-karlp@tweak.net.au
State Accepted
Headers show

Commit Message

Karl Palsson May 27, 2015, 9:46 a.m. UTC
From: Karl Palsson <karlp@remake.is>

Can be helpful in diagnosing unexpected package overlaps between
feeds/core.

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

Changes since v1: Include feed source for override case as well, as suggested
by Mathieu Olivari

 scripts/feeds | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/scripts/feeds b/scripts/feeds
index a6be9cc..4f3f812 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -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";