From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id 6D98A6059E for ; Fri, 21 Apr 2017 23:18:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 623F420BA6 for ; Fri, 21 Apr 2017 23:18:24 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UQkPUxn03Xyt for ; Fri, 21 Apr 2017 23:18:24 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 49FC020174 for ; Fri, 21 Apr 2017 23:18:24 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id BDD8116246E; Fri, 21 Apr 2017 19:18:23 -0400 (EDT) Date: Fri, 21 Apr 2017 19:18:23 -0400 From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Message-ID: <20170421231816.GC20419@denix.org> References: <1490031500-38242-1-git-send-email-denis@denix.org> MIME-Version: 1.0 In-Reply-To: <1490031500-38242-1-git-send-email-denis@denix.org> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [morty][PATCH] sstate.bbclass: update .siginfo atime 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: Fri, 21 Apr 2017 23:18:24 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Ping. It's been over a month now... On Mon, Mar 20, 2017 at 01:38:20PM -0400, Denys Dmytriyenko wrote: > From: Ed Bartosh > > .siginfo files are not being accessed from local or NFS-mounted > sstate mirrors when sstate package is installed, so their atime > is not updated. If sstate mirror is cleaned based on access time, > they get deleted, even though they are still being used. > > Updated atime of .siginfo symlinks with 'touch -a'. This command > dereferences symlinks pointing to the local mirror and updates > atime of the .siginfo file on the mirror. > > [YOCTO #10857] > > Signed-off-by: Ed Bartosh > Signed-off-by: Ross Burton > Signed-off-by: Denys Dmytriyenko > --- > meta/classes/sstate.bbclass | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass > index 8643f3d..4fdfcc8 100644 > --- a/meta/classes/sstate.bbclass > +++ b/meta/classes/sstate.bbclass > @@ -724,6 +724,8 @@ python sstate_sign_package () { > # > sstate_unpack_package () { > tar -xvzf ${SSTATE_PKG} > + # update .siginfo atime on local/NFS mirror > + [ -h ${SSTATE_PKG}.siginfo ] && touch -a ${SSTATE_PKG}.siginfo > # Use "! -w ||" to return true for read only files > [ ! -w ${SSTATE_PKG} ] || touch --no-dereference ${SSTATE_PKG} > [ ! -w ${SSTATE_PKG}.sig ] || [ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig > -- > 2.7.4 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core