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 EEDF471A6C for ; Wed, 2 Nov 2016 15:06:04 +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 uA2F5N25017465 for ; Wed, 2 Nov 2016 15:06:05 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 1368DkY7jMqn for ; Wed, 2 Nov 2016 15:06:05 +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 uA2F60Fv017609 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 2 Nov 2016 15:06:01 GMT Message-ID: <1478099160.23123.61.camel@linuxfoundation.org> From: Richard Purdie To: bitbake-devel Date: Wed, 02 Nov 2016 15:06:00 +0000 X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Subject: [PATCH] build: Ensure we preserve sigbasedata files as well as sigdata ones X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2016 15:06:05 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit We don't remove sigdata files, we also shouldn't remove sigbasedata files as this hinders debugging. Signed-off-by: Richard Purdie diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index b5e80bc..574c64f 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -715,7 +715,7 @@ def make_stamp(task, d, file_name = None):      for mask in cleanmask:          for name in glob.glob(mask):              # Preserve sigdata files in the stamps directory -            if "sigdata" in name: +            if "sigdata" in name or "sigbasedata" in name:                  continue              # Preserve taint files in the stamps directory              if name.endswith('.taint'):