From patchwork Wed May 27 09:46:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Palsson X-Patchwork-Id: 477022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9F5391402A2 for ; Wed, 27 May 2015 19:46:27 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6FD84281463; Wed, 27 May 2015 11:44:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1AEBB2803B3 for ; Wed, 27 May 2015 11:44:43 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from palmtree.beeroclock.net (palmtree.beeroclock.net [178.79.160.154]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Wed, 27 May 2015 11:44:42 +0200 (CEST) Received: by palmtree.beeroclock.net (Postfix, from userid 1000) id B4BE82400B; Wed, 27 May 2015 09:46:09 +0000 (UTC) From: Karl Palsson To: openwrt-devel@lists.openwrt.org Date: Wed, 27 May 2015 09:46:06 +0000 Message-Id: <1432719966-30168-1-git-send-email-karlp@tweak.net.au> X-Mailer: git-send-email 1.7.9.5 Cc: Karl Palsson Subject: [OpenWrt-Devel] [PATCH v2] scripts/feeds: print the source of packages installed X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From: Karl Palsson Can be helpful in diagnosing unexpected package overlaps between feeds/core. Signed-off-by: Karl Palsson --- 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";