From patchwork Fri Jan 5 13:06:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 123512 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp792915qgn; Fri, 5 Jan 2018 05:06:38 -0800 (PST) X-Google-Smtp-Source: ACJfBouKkjeq3s5mcMNxf+oG/DSAi9FCAINr/nvgRIsS9rZ6Tgf+ikEjHg3jHDM2BF3fiFqwk1bP X-Received: by 10.98.14.75 with SMTP id w72mr2924477pfi.240.1515157598612; Fri, 05 Jan 2018 05:06:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515157598; cv=none; d=google.com; s=arc-20160816; b=StoMRhltgtBl+O0v5PaJOaBv4Go4yMS6tOeA3hK3ZaUXD6iB7KaN5+84kz0T5W8R4Z l6uq18V1aO658CUfNqoJRYo3eXOGboq5msK7J+mJqCrQp8eY1kwysJj3+AWi2wvEG0UD 79ify8ZxrAwGokY8TVxH5jW1ZcXs2DDOWuI0iWWscasYyj2gjTLXXyaTzyiUnnfxA6T4 Kq+jbfxtgcdRLhwBx4GNA8eSqeEgnDfVtEA124Ve/wJf5EhpJs2f5JggE+UpUmmWsdwY 4+S7lGQVuGO4whCS1vsGHFfXU0Z78g6ETHM8kH29hPY4UDMXpcpZ5m5gPXVkKL3Nh1kq +MUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=/wy4zrYUgPoEexflbns3jzkRLH4cKkHsUqNSjlk3kE0=; b=wWsG0kTSSCfgZo1gcmkbL0mrbbPt+l6QVGbt+uV4RdCcKytt+v6YTXeapUq5ru0Nlz qMGdj/iJPhw8xAQeEPDBa6zp1HeLYq0r6/ZvKriov9ZgD/nK5c4mqNstjz1tIk29JLxO xYrRPslvTH2VDlCET4IoOyTo2KnVZsJ85uXNRU2cG9a7iwe5X+Nl13ckvAnrdu6cd/iI +spqQTSuPaZwQaqk7Wv5w+i/7rJUtI+XGztuc/+yH0Rmc73vg0SS8nyVaipTHAlx2wdX GaxV6ST3QQWQfrQLIdr6aRcYXKTEeE4eye3OCzexCuh1hYs93uqMWNTGzAfZOEEZJJV4 KvpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Qe0xy+MS; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id i2si3985480plk.401.2018.01.05.05.06.38; Fri, 05 Jan 2018 05:06:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=Qe0xy+MS; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7B8947882C; Fri, 5 Jan 2018 13:06:31 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by mail.openembedded.org (Postfix) with ESMTP id CE94F7880B for ; Fri, 5 Jan 2018 13:06:23 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id o15so4285415wrf.12 for ; Fri, 05 Jan 2018 05:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=IjAQKyXTfNBfix4UnCsjWKNRnGYa6Gl+eCH923/iGd0=; b=Qe0xy+MS2RkXKOzjybwJMgxN+TdFXnWGWDwdNzpbY5TBlpfoNBPfJxnNKaJ2+Jixet rUDKYPEQtpzLLURO2Ww1+0/5qOps6lzmclsbfy4dtNiy3LjnPd/SECyzLuG+MQ4OYT6a Tb2QCgbL2S68kBLFJGd3ekux7jczHeYuFCJB1Na3OrmlvwNZrjqcAVPEpQQ03nP6jRkJ dRSbStWpbtmtC5BNduqjWW13Lia78FgXGuBAioqknuZKL60D86YA3+P0WdZY8D8FIYrg bHCNBQSoJ/A15I+fdISVXh6DpBJU3qFO7NM1BLW7nl1xxeejk6h26K47nl0zop5vHVNU BRlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=IjAQKyXTfNBfix4UnCsjWKNRnGYa6Gl+eCH923/iGd0=; b=n4vcBR32jiSIcLJCr+MTwd8NX4dRoVTYVMbtBlWsnUDj0E9gZYG5elZTA02CokSYTT k6FPWsGrT6qeHvowkCltQJ1WqBOXDSzVQyClhe4tOmtYKSYjJ+OJqQ+1ARP7Iu/sUFbe qj6ErKVRbSkGBDeuErM5pr7vrobtmiN6bWOk2IGiErQm5Fp4zr8pWDGJITgl09emkz2/ NA4LqJlDAFEGSFNknvsQVJmIR+PjpBxGHaiBdd8KvZdX7XWYF73eZEL5pMFGysM4k2he AszGSqT8l1q2dwjqht94jZnoZTtEkuM/Em6gJApWZS9o5EmmRfEiZ8EUnU57LFZqArcW 5+xQ== X-Gm-Message-State: AKGB3mLyqgLawTxoL2YrwsMsGrTdxZ3/69CPqsqwFZzPh/iKoA8Rs4dE Z1x56zDqSil/YlJx0mnzkODLpe1s X-Received: by 10.223.175.119 with SMTP id z110mr2602477wrc.51.1515157584369; Fri, 05 Jan 2018 05:06:24 -0800 (PST) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id e7sm4650559wrd.82.2018.01.05.05.06.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jan 2018 05:06:23 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 5 Jan 2018 13:06:22 +0000 Message-Id: <20180105130622.5357-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] debian.bbclass: add a note when a package is renamed X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org To make it easier to debug problems with renaming caused by debian.bbclass, explicitly log when packages are renamed. Signed-off-by: Ross Burton --- meta/classes/debian.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass index 8124558b819..5cdbf360dcb 100644 --- a/meta/classes/debian.bbclass +++ b/meta/classes/debian.bbclass @@ -120,6 +120,7 @@ python debian_package_name_hook () { if not newpkg.find(mlpre) == 0: newpkg = mlpre + newpkg if newpkg != pkg: + bb.note("debian: renaming %s to %s" % (pkg, newpkg)) d.setVar('PKG_' + pkg, newpkg) add_rprovides(pkg, d) else: @@ -138,4 +139,3 @@ python debian_package_name_hook () { EXPORT_FUNCTIONS package_name_hook DEBIAN_NAMES = "1" -