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

Karl Palsson karlp at tweak.net.au
Wed May 27 05:46:06 EDT 2015


From: Karl Palsson <karlp at remake.is>

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

Signed-off-by: Karl Palsson <karlp at 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 --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";
-- 
2.1.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list