From patchwork Mon Sep 25 20:21:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 114185 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3013732qgf; Mon, 25 Sep 2017 13:22:08 -0700 (PDT) X-Received: by 10.99.67.193 with SMTP id q184mr9001286pga.210.1506370928676; Mon, 25 Sep 2017 13:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506370928; cv=none; d=google.com; s=arc-20160816; b=rVVuJexOTUENwTyuRWa+SbIuRLR4mxlxuHm1Ldwred0BCB7k0LN7VeVd0fv+qEILR6 GyIUOlRIHsLawqGYU2MbQWjqK6uceVOuLDZNOvm3bIqTsPlIMjBn+q3xbxLa+6+9TGDj XKuLiaI4bUG4TN2KsbrMGpJYS13/ZM29dD8/ZIQgORjVMMZmgS6OUXpNjpLO4+m5+o14 0Xqab1EOfRoxZkkJwPUeRdgVWKgiBn9Hy/HRp0036Cfxds0f9FyqUEj4fzHMqRvd8F0+ P7kYJfeTXcciPuqKxL8E7UphxxVQbDkjtaEYlmJgGJV0Bhvhx1VSRAVIoM9ezeRu7fQ+ FbDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=up+v97ZFQlMWIqKWeKhLOicTXU6RR9JVmEL4UB/NX1Y=; b=aSB4GMYZbapnU0Kko5EM0/DU5X4JETaTda6Jf+jLFk4qNCEaUXqWC51FI3ua0bxeDT wJGk8so4PydMPnMVMDdKddAMay8VAY1W+dls61pDBqmloPBvCcSM72M6YpkUKPxVaDB3 yHO+n/zGP/a5AY8IcUPGz8y1n6kb1mu/TjqdIaFDtLmnSXMJsGrDXnCvmALzPEFzugl9 K0PXlOH+f1Cn3POA2ytRw4PborRBc6CZxdW6FEFn4e8/IRX1d4HBhq8EPLbEXTR1JhZF 1a1MGYqNwPnHpchPjDD4wcLVEj7Zs1Ybz9uFVwTSWEp3AeunvBri0tFr6/XRAS1wBd7P kHig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=XqL4DOrJ; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f3si4640607pgs.225.2017.09.25.13.22.06; Mon, 25 Sep 2017 13:22:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=XqL4DOrJ; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DA460782A0; Mon, 25 Sep 2017 20:22:01 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by mail.openembedded.org (Postfix) with ESMTP id 85A2E77D12 for ; Mon, 25 Sep 2017 20:21:58 +0000 (UTC) Received: by mail-wr0-f182.google.com with SMTP id z39so9895800wrb.8 for ; Mon, 25 Sep 2017 13:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=wXl0dRT5xkmefWofyC89EmSDc1wnRmFJwv/8CsNfQO4=; b=XqL4DOrJ57bm24CJIwq1xH02eI0UhmNX86s0YBcX2xj3mnw+JZNed2rKsDvOcj+eXZ LyO4LKzPUa/8Vy4F4Ttwjnl1SXaSWbBu4CNoYeOUk78ngygj7v2h+RzvYP2hJNzGDY2N 2h0uWmFGXnHio1Q9hzKACjxyJrh16dMxAq0vrEVr+K97mzV00xX3AU7+LIbP/za83fDR a+kTqAAokL2pA+UgIRoZkeBNHEeMyF9ojKYfxGsO1WmapgFr31mH5Lyy7zVikcDO8tBO VBQsglbMivXKR6uh2LtOkxvm19uvHhtbe/ACDFiXAetnQjHYeFmUrfCnWycxmbXlTJeF rHAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=wXl0dRT5xkmefWofyC89EmSDc1wnRmFJwv/8CsNfQO4=; b=bSyUswqH7ZUuGohW99GGjxdwYMhE3MT5C+nrXbCKZornx/hC6416Lj+lbNvcy2XOPC EGNABwu4Wf9FHoGQi/DEjUB6xTOylpnBwFvCJi+7Y0W2aGcr+7IkXtompHoOIp7tdm0Q vDja28HQABrXBzGwj3cqsWyXerIkoM5qbExBoR1sFtQQAYCWAJuWKVZ3rMdqxK3uv6H3 NYgZy3HCfJVdE2xR4tGd0HXOeUsJOtSc/ErHN6VDEUn2ER5Q5IZuHqOEy0w/yf8ts3sw HfOOVuO3YG/MqQC9suSAZyv8FElCYcG+QUgJaBP81UwXBaNIC8cxK8YAcW2ZV7Xc/FH5 T38Q== X-Gm-Message-State: AHPjjUjVoFdDSBAsxSKywp8PWnywE6exvpyL83RtqA1ZCT6RMNBkoaGa QkOS2Z5TUBPhPWOnHF/ye65zTyh4 X-Google-Smtp-Source: AOwi7QBK3QFxWaO7jO7IkCgdInhc7Nv3P9HOSXurwub6CkoVHV8Fi4agH4nB6fk6zvvbnMZDX8ZO4A== X-Received: by 10.223.155.194 with SMTP id e2mr8053008wrc.49.1506370919252; Mon, 25 Sep 2017 13:21:59 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id v5sm301488wmb.0.2017.09.25.13.21.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Sep 2017 13:21:58 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 25 Sep 2017 21:21:55 +0100 Message-Id: <20170925202155.22798-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] core-image-sato-sdk-ptest: reduce size 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This image is very large and is skirting the maximum size of hddimg images (4GB, as they're embedded inside FAT partitions). Making the image 10MB bigger can be enough to cause the build to fail. This image is also used by QA so currently we need to keep it working. The default values for expanding an image to give it usable space are quite generous, (3GB rootfs * 1.3 gives 1GB of empty space), so change the overhead multiplier to 1.0x and explicitly request just 0.5GB of empty space in the images. This should give us a bit more breathing room until we can either remove hddimg from the default build, or make this image dramatically smaller. Signed-off-by: Ross Burton --- meta/recipes-sato/images/core-image-sato-sdk-ptest.bb | 5 +++++ 1 file changed, 5 insertions(+) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb index 93e5a4eb6d5..531571ee877 100644 --- a/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb +++ b/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb @@ -4,3 +4,8 @@ DESCRIPTION += "Also includes ptest packages." IMAGE_FEATURES += "ptest-pkgs" +# This image is sufficiently large (~3GB) that it can't actually fit in a live +# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the +# box) and explicitly add just 500MB. +IMAGE_OVERHEAD_FACTOR = "1.0" +IMAGE_ROOTFS_EXTRA_SPACE = "524288"