From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.appriver.com (relay101a.appriver.com [207.97.230.14]) by mail.openembedded.org (Postfix) with ESMTP id B102174C3E for ; Fri, 4 May 2018 18:21:25 +0000 (UTC) X-Note: This Email was scanned by AppRiver SecureTide X-Note-AR-ScanTimeLocal: 05/04/2018 2:21:24 PM X-Note: SecureTide Build: 1/19/2018 4:03:46 PM UTC (2.6.29.0) X-Note: Filtered by 10.238.11.161 X-Note-AR-Scan: None - PIPE Received: by relay.appriver.com (CommuniGate Pro PIPE 6.2.1) with PIPE id 373600067; Fri, 04 May 2018 14:21:24 -0400 Received: from [213.210.30.29] (HELO elite.brightsign) by relay.appriver.com (CommuniGate Pro SMTP 6.2.1) with ESMTPS id 373600011; Fri, 04 May 2018 14:21:22 -0400 Received: from chuckie.brightsign ([fd44:d8b8:cab5:cb01::19] helo=chuckie) by elite.brightsign with esmtp (Exim 4.89) (envelope-from ) id 1fEfKd-000GNa-Ku; Fri, 04 May 2018 19:21:23 +0100 Received: from mac by chuckie with local (Exim 4.89) (envelope-from ) id 1fEfKd-00022i-K5; Fri, 04 May 2018 19:21:23 +0100 From: Mike Crowe To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 19:21:20 +0100 Message-Id: <20180504182120.7783-1-mac@mcrowe.com> X-Mailer: git-send-email 2.11.0 X-Note: This Email was scanned by AppRiver SecureTide X-Note-AR-ScanTimeLocal: 05/04/2018 2:21:22 PM X-Note: SecureTide Build: 1/19/2018 4:03:46 PM UTC (2.6.29.0) X-Note: Filtered by 10.238.11.161 X-Policy: brightsign.biz X-Primary: brightsign.biz@brightsign.biz X-Virus-Scan: V- X-Note: ICH-CT/SI:0-0/SG:1 1/1/0001 12:00:00 AM X-Note-SnifferID: 0 X-Note: TCH-CT/SI:0-49/SG:1 5/4/2018 2:20:43 PM X-GBUdb-Analysis: 0, 213.210.30.29, Ugly c=0.483445 p=-1 Source Normal X-Signature-Violations: 0-0-0-3957-c X-Note: Spam Tests Failed: X-Country-Path: ->->United Kingdom->United States X-Note-Sending-IP: 213.210.30.29 X-Note-Reverse-DNS: elite.brightsigndigital.co.uk X-Note-Return-Path: mcrowe@brightsign.biz X-Note: User Rule Hits: X-Note: Global Rule Hits: G335 G336 G337 G338 G342 G343 G475 X-Note: Encrypt Rule Hits: X-Note: Mail Class: VALID Cc: Mike Crowe Subject: [PATCH] rm_work: Stop appending _setscene to do_image_complete_setscene stamps 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, 04 May 2018 18:21:26 -0000 Each time I build my image after the first, I end up with a do_image_complete_setscene stamp file with an extra _setscene appended to the name. Eventually, the filenames end up being so long that mv complains and the build fails. It looks like this behaviour was introduced when the special handling was added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71. So, let's ensure that the *_setscene* pattern is matched before anything else so that the do_image_complete_setscene stamp file is merely ignored and only the do_image_complete non-setscene stamp file is moved once. It's not straightforward to just move *do_image_complete* after the *_setscene* pattern because do_image_complete stamps would then match do_image*. Signed-off-by: Mike Crowe --- meta/classes/rm_work.bbclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 31d99e4554..318d121d2b 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass @@ -53,6 +53,10 @@ do_rm_work () { *do_setscene*) break ;; + *_setscene*) + i=dummy + break + ;; *sigdata*|*sigbasedata*) i=dummy break @@ -89,10 +93,6 @@ do_rm_work () { i=dummy break ;; - *_setscene*) - i=dummy - break - ;; *$j|*$j.*) mv $i `echo $i | sed -e "s#${j}#${j}_setscene#"` i=dummy -- 2.11.0