From patchwork Fri Aug 5 16:11:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 73372 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2015988qga; Fri, 5 Aug 2016 09:11:18 -0700 (PDT) X-Received: by 10.98.13.157 with SMTP id 29mr136749037pfn.105.1470413478714; Fri, 05 Aug 2016 09:11:18 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id wh1si7057314pab.238.2016.08.05.09.11.18; Fri, 05 Aug 2016 09:11:18 -0700 (PDT) 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; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 66DD177116; Fri, 5 Aug 2016 16:11:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mail.openembedded.org (Postfix) with ESMTP id 27EEE77116 for ; Fri, 5 Aug 2016 16:11:10 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id q128so37084233wma.1 for ; Fri, 05 Aug 2016 09:11:11 -0700 (PDT) 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=A6emAxQ+eolmyntN3MgPKtZrn5lBls6wCpnmX8+68Do=; b=kXIyv4S2DtMbE6z1mfu9YwRn+aKOkRgwKQ6QbxIrkCKgoMLbLEx0ux3TubVSaPURkY lMf9RVUG5dv2LZLUrx8PWBtWo/dGUyaDA7+ur6PIoy+C3TSmhAczbmdPCxyYOzaqWfig thfoYDuPgnzbhf2kgt3tiFt1+fTEsOensA5ydeMKWTj3bqF9CQOKBrA/JPicBp+m0J/v vykMfmuob52OSVbE9av3pnb4nc2dUDRf764X3NfiwOm4T560yG4Fsp+kQrPOJ535wZdI bZ0ePsDYeJjBcNSHjTbOBO/D2WpcQdGdL0VhxxTTQBrlcN7Y7e21E7C1Bs7ic1K2tzoc /DbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=A6emAxQ+eolmyntN3MgPKtZrn5lBls6wCpnmX8+68Do=; b=QHuN56zIIRmzNGWGGs2DNirFnIgi+E8dd4JIRYb/wYBWDyDluiCAlaPn6uVhsuqXfB 5OV6IzVB9wazmeqB2P6OuNKEBGIxvCXVHcG0kUq3KhwXPT8xjAQCPT0bp13yzyX5HkH2 0EbWKJsoiXsPoYhiuKCPHsfbqjeoT9Ic4luP1NZ+CQb3MEZSfC6P5Y/rFOgMqHSJ5GnR PYQdvE7FHWCxegmozxyGn8Wey62mskUohWmJD639JLzirfcW/hUSq1f+nVqXxsOGIJjo OIF5l+20R10YslIys+SK5px3d29gtBqv7mIL6hqd417JQWRcVrQiChRnjohlb4fQ+C/C cvKA== X-Gm-Message-State: AEkoouviqKvaXtPyh5LMJW1a9XpEuSHP0MDF6wYyJub/on6r7/4sIIQ7VoMBPb/C/BV69g6X X-Received: by 10.28.29.211 with SMTP id d202mr4059275wmd.64.1470413470753; Fri, 05 Aug 2016 09:11:10 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id jq5sm5389320wjc.20.2016.08.05.09.11.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 Aug 2016 09:11:09 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 5 Aug 2016 17:11:07 +0100 Message-Id: <1470413467-10175-1-git-send-email-ross.burton@intel.com> X-Mailer: git-send-email 2.8.1 Subject: [OE-core] [PATCH] consolekit: don't ship /var/log/ConsoleKit 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 This directory is created on demand, and won't be visible if /var/log is a tmpfs, so don't bother shipping it. Signed-off-by: Ross Burton --- meta/recipes-support/consolekit/consolekit_0.4.6.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb index 2974e36..ceac0fe 100644 --- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb +++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb @@ -30,7 +30,7 @@ PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/s PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit" PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" -FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ +FILES_${PN} += "${exec_prefix}/lib/ConsoleKit \ ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*" @@ -45,6 +45,6 @@ do_install_append() { > ${D}${sysconfdir}/tmpfiles.d/consolekit.conf fi - # Remove /var/run from package as console-kit-daemon will populate it on startup - rm -fr "${D}${localstatedir}/run" + # Remove /var/ directories as the daemon creates them as required + rm -rf ${D}${localstatedir} }