Return-Path: Received: from hetzner.pbcl.net (mail.pbcl.net [88.198.119.4]) by mail.openembedded.org (Postfix) with ESMTP id 5C41B600AC for ; Tue, 14 Jan 2014 12:51:12 +0000 (UTC) Received: from cpc6-cmbg17-2-0-cust487.5-4.cable.virginm.net ([86.30.57.232] helo=[172.30.1.45]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1W33SZ-0002Hz-Bh for openembedded-core@lists.openembedded.org; Tue, 14 Jan 2014 13:51:11 +0100 Message-ID: <1389703869.19023.8.camel@phil-desktop.brightsign> From: Phil Blundell To: oe-core Date: Tue, 14 Jan 2014 12:51:09 +0000 X-Mailer: Evolution 3.8.5-2+b1 Mime-Version: 1.0 X-Spam_score: -1.0 X-Spam_score_int: -9 X-Spam_bar: - X-Spam_report: Spam detection software, running on the system "hetzner.pbcl.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: I happened to notice today that I'm getting /lib/lttng-tools/ptest/ installed in my rootfs, which I don't especially want. What's happening here is that ptest.bbclass (since 25885d3b4f679c33a514d858bc20b0e21aa63721) does: [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Subject: Extraneous ${libdir}/${PN}/ptest in ptest-using packages 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: , X-List-Received-Date: Tue, 14 Jan 2014 12:51:13 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit I happened to notice today that I'm getting /lib/lttng-tools/ptest/ installed in my rootfs, which I don't especially want. What's happening here is that ptest.bbclass (since 25885d3b4f679c33a514d858bc20b0e21aa63721) does: do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}" and this causes ${D}${PTEST_PATH} to be created irrespective of the setting of PTEST_ENABLED, which is not especially desirable. Can this be moved to some place where it only takes effect for ptest-enabled builds? p.