Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id A2F22782AB for ; Tue, 29 Aug 2017 22:48:55 +0000 (UTC) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id v7TMmpdK025724 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 29 Aug 2017 23:48:52 +0100 Message-ID: <1504046931.2175.20.camel@rpsys.net> From: Richard Purdie To: Stefan Agner , openembedded-core@lists.openembedded.org, akuster808@gmail.com Date: Tue, 29 Aug 2017 23:48:51 +0100 In-Reply-To: <8662fc65d498ee9e62c0d0d8e8fbeff8@agner.ch> References: <1504000440-16842-1-git-send-email-stefan@agner.ch> <8662fc65d498ee9e62c0d0d8e8fbeff8@agner.ch> X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (dan.rpsys.net [192.168.3.1]); Tue, 29 Aug 2017 23:48:52 +0100 (BST) X-Virus-Scanned: clamav-milter 0.99.2 at dan X-Virus-Status: Clean Cc: Stefan Agner Subject: Re: [PATCH v2] image.bbclass: delete DATE variable too 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, 29 Aug 2017 22:48:56 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Thu, 2017-08-17 at 10:34 -0700, Stefan Agner wrote: > On 2017-08-29 02:54, Stefan Agner wrote: > > > > From: Stefan Agner > > > > When creating a custom image which uses the DATE variable the > > basehash > > seems to change every day and lead to errors such as: > > ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error > > executing > > a python function in exec_python_func() autogenerated: > > > > The stack trace of python calls that resulted in this > > exception/failure was: > > File: 'exec_python_func() autogenerated', lineno: 2, function: > > > >      0001: > >  *** 0002:set_image_size(d) > > ... > > > > Add DATE to the variables which should not get expanded early and > > to the > > vardepsexclude list for the image task. > Armin, this has been applied to master in between. > > Is there a chance to get that also into pyro and morty? Possibly but the patch doesn't cleanly apply there so you'd need to send pyro and morty versions of it. Cheers, Richard