From nobody Tue Feb 10 20:48:19 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529093273477631.8639826300068; Fri, 15 Jun 2018 13:07:53 -0700 (PDT) Received: from localhost ([::1]:49084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTv0b-0001zq-JY for importer@patchew.org; Fri, 15 Jun 2018 16:07:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTuoX-0000X2-7k for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTuoT-0006Ro-0k for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:17 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:52294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTuoS-0006QL-Qa for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:55:12 -0400 Received: by mail-wm0-x241.google.com with SMTP id p126-v6so5226064wmb.2 for ; Fri, 15 Jun 2018 12:55:12 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n18-v6sm10090675wrj.58.2018.06.15.12.55.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:55:10 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0D0DA3E050E; Fri, 15 Jun 2018 20:47:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ufQhKjgdbg3a8n0Vys6yHTSzTkyMPkWTfgf1izDw2TM=; b=DEq4qiN6nmF/kWOOBXfSeqJrCm/VZezTPc/I26w2XOS3Kg5OyzZ06hPds9rBJGuyLM uxHYok8l90sUw53TbAHElp2GeaiJVaGITemw7GvFk4IIDpOVMHODIKR56ZuXxhn7Cfxu Xeka/JKIr4EMCSxAmZJrb3hZ6VmP0xidPYE08= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ufQhKjgdbg3a8n0Vys6yHTSzTkyMPkWTfgf1izDw2TM=; b=YdAziegLFruSpNpC+1w9I91sRViKA3lLl3syJB0uSB0JDAez8XrWa2lcUvrpTFrmU6 NQdJEGYA/ir1e0E7Ru0rPzcViKv+9/TmTsnL/rqkdCX/KUoV1+88qTKOkK1XQmytpKri yV/j/pCanZ4Qiz7/HWo9+P9ZsmsDSFypQK/E6UoNFYsZh0vc2mN4R+jphV66WJ0r2TQ5 N+sC3r+oEMmun0qnqn+Y7fJ/WwM8jBZPZh6GJd/NM89vPw8T7OVTDm3blnHZqsR3WliP Vyf52baI/XVIwXIedGSeSUrUQ9s/bbllIhPbfuahT7Z3FtOjTf6RusEPd92Gc8yhSn5g N4Ng== X-Gm-Message-State: APt69E1483UUucWEB1AWdBcKBqAgETl0hc+mxFM6ZiN9Krqy/tCmZd23 Qvh+LuIFmOG3XSfg+iOGtewXmg== X-Google-Smtp-Source: ADUXVKL8qjma4F8wZ8VGNkbHaR5K6plAViGQ6mxYwb9BtAs4DtMHVOQTR0ttNo6bjtukS2jpwC7OsQ== X-Received: by 2002:a1c:7501:: with SMTP id o1-v6mr2288633wmc.133.1529092511604; Fri, 15 Jun 2018 12:55:11 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:47:04 +0100 Message-Id: <20180615194705.28019-54-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PATCH v7 53/54] tests/docker/Makefile.include: only force SID to NOCACHE if old X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Now we can check the age of a docker image we can be a little more intelligent about re-building Sid images and only force NOCACHE if it is "old". Signed-off-by: Alex Benn=C3=A9e --- tests/docker/Makefile.include | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index c0f09505bb..193fcc79fd 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -75,8 +75,14 @@ docker-image-debian-win64-cross: docker-image-debian8-mxe # force a re-build of the base image if we ever need to build one of # its children. ifndef SKIP_DOCKER_BUILD +ifeq ($(HAVE_USER_DOCKER),y) +SID_AGE=3D$(shell $(DOCKER_SCRIPT) check --checktype=3Dage --olderthan=3D6= 0 --quiet qemu:debian-sid) +ifeq ($(SID_AGE),) +else docker-image-debian-sid: NOCACHE=3D1 endif +endif +endif =20 docker-image-debian-alpha-cross: docker-image-debian-sid docker-image-debian-hppa-cross: docker-image-debian-sid --=20 2.17.1