From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 11A1B76FF2 for ; Tue, 26 Jan 2016 18:02:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u0QI2NxW028454; Tue, 26 Jan 2016 18:02:23 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id o82zYRbMhrrA; Tue, 26 Jan 2016 18:02:23 +0000 (GMT) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u0QI2L4B028451 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 26 Jan 2016 18:02:22 GMT Message-ID: <1453831341.25948.64.camel@linuxfoundation.org> From: Richard Purdie To: openembedded-core Date: Tue, 26 Jan 2016 18:02:21 +0000 X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Cc: Otavio Salvador Subject: [PATCH] image: Don't create tasks with '.' in the name 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, 26 Jan 2016 18:02:24 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Similarly to "-", "." doesn't work well in task names but is used in some real world image classes. Work around this with some replacements for now to unbreak layers. (Issues don't show themselves until runtime, e.g. with --dry-run) Tested-By: Otavio Salvador Signed-off-by: Richard Purdie diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 3870516..797f342 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -395,9 +395,9 @@ python () { after = 'do_image' for dep in typedeps[t]: - after += ' do_image_%s' % dep.replace("-", "_") + after += ' do_image_%s' % dep.replace("-", "_").replace(".", "_") - t = t.replace("-", "_") + t = t.replace("-", "_").replace(".", "_") d.setVar('do_image_%s' % t, '\n'.join(cmds)) d.setVarFlag('do_image_%s' % t, 'func', '1')