diff mbox

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

Message ID 1432653121-22642-1-git-send-email-karlp@tweak.net.au
State Superseded
Headers show

Commit Message

Karl Palsson May 26, 2015, 3:12 p.m. UTC
From: Karl Palsson <karlp@remake.is>

Can be helpful in diagnosing unexpected package overlaps between feeds.

Signed-off-by: Karl Palsson <karlp@remake.is>
---
 scripts/feeds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mathieu Olivari May 26, 2015, 9:51 p.m. UTC | #1
On Tue, May 26, 2015 at 08:12:01AM -0700, Karl Palsson wrote:
> From: Karl Palsson <karlp@remake.is>
> 
> Can be helpful in diagnosing unexpected package overlaps between feeds.
> 
> Signed-off-by: Karl Palsson <karlp@remake.is>
> ---
>  scripts/feeds | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/feeds b/scripts/feeds
> index a6be9cc..e060242 100755
> --- a/scripts/feeds
> +++ b/scripts/feeds
> @@ -498,7 +498,7 @@ sub install_package {
>  
>  	defined($override) and $override == 1
>  		and warn "Overriding package '$src'\n"
Should we display a similar information for the override case?

> -		or warn "Installing package '$src'\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@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
diff mbox

Patch

diff --git a/scripts/feeds b/scripts/feeds
index a6be9cc..e060242 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -498,7 +498,7 @@  sub install_package {
 
 	defined($override) and $override == 1
 		and warn "Overriding package '$src'\n"
-		or warn "Installing package '$src'\n";
+		or warn "Installing package '$src' from $feed->[1]\n";
 
 	do_install_package($feed, $pkg) == 0 or do {
 		warn "failed.\n";