Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 2BB81726CC for ; Wed, 21 Jan 2015 05:54:44 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t0L5sjZN005524 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for ; Tue, 20 Jan 2015 21:54:45 -0800 (PST) Received: from lirq-OptiPlex-780.corp.ad.wrs.com (128.224.162.136) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.174.1; Tue, 20 Jan 2015 21:54:44 -0800 From: To: Date: Wed, 21 Jan 2015 13:54:43 +0800 Message-ID: <1421819683-8631-1-git-send-email-rongqing.li@windriver.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Subject: [PATCH][meta-networking] traceroute: give high priority when update-alternatives X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 05:54:53 -0000 Content-Type: text/plain From: Roy Li busybox provides traceroute command and uses the default priority to update-alternatives, if traceroute is not defined the priority, the traceroute maybe link to busybox's Signed-off-by: Roy Li --- meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb index 4b49c76..914c2a0 100644 --- a/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb +++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.20.bb @@ -38,5 +38,6 @@ do_install() { } +ALTERNATIVE_PRIORITY = "60" ALTERNATIVE_${PN} = "traceroute" ALTERNATIVE_LINK_NAME[traceroute] = "${bindir}/traceroute" -- 2.1.0