From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6621946372691066880 X-Received: by 2002:a2e:86ce:: with SMTP id n14-v6mr1303965ljj.21.1542968630530; Fri, 23 Nov 2018 02:23:50 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:90ce:: with SMTP id o14-v6ls1536578ljg.11.gmail; Fri, 23 Nov 2018 02:23:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/VK1IydG36hgBphY46Qv2IF84lJuNMRk85QJ/wVc2vmYwKxZbXSUQP3Xo08HSCf+4w1zoOH X-Received: by 2002:a2e:5d0c:: with SMTP id r12-v6mr1240779ljb.8.1542968630065; Fri, 23 Nov 2018 02:23:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542968630; cv=none; d=google.com; s=arc-20160816; b=I7qCIPiUv5GBUS7UrA8BB/jMVSL2z6h8Cn/JbawZFtMZyAtnebZSSlryB3bfiyWUbK 1jyaPx84qiqHvgHF6Twh379SQ41QUE4jvoBZAclRHKP7mBs7OskQKW+CnE+VzggQhNCs HOvPHG+I+oU5l4m+QyXBUQGKCtiQnFxT4RlFK83vu0VCxfKF6XL/Z/gcknNTyaZdordF rcOQrdC+YN8U+Ze8V+46VCN7UKN6e4lp3nb5prdVfvdQFgdVGqMiTf245Fv82R2bf4pS OOSIUVutvuy1V9f2HiSnFuGexfR0SvXCY3m+33JLIzYmnma56vA6I7AnYIC76VApEM4c l8jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:to:subject; bh=Uj1dkHW7BLxI+Stuse810BVgcdBDpxemm/i83/jp7+w=; b=hbR94nZnHqsIVARBXm4vH3qiLG8QW58wNEhWM0e4NpZlsktyqpCE1H3Hd3kzPqYSWY AWW/3ngUpHqXnmXm0M5EjIPJQU6BP6K1fwf6PdjJEaiWOQM4Ub7D1rP2X5+i6mHqoXwJ 9UmwvGioZfTm4I/1oF1K9nh9J0VhklWzcPSjrF4e5ZgN+ovGmxrNz0shRlF3E+JfGidi bI3SH/xDDOL/7CIzLIaN9lisQo66N3TmSkmxAqdObfK0h8w8vQAZQ11rtfgVLJKQ0pCO 8nq6DlHyt5+9BG7blxsVs4RFsf0j5sELZDmCcvIu09NcngSi3tc6SHraRBUEnSVqg1oD NfQw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id t16-v6si557654ljc.1.2018.11.23.02.23.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 02:23:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id wANANlJI025143 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 23 Nov 2018 11:23:48 +0100 Subject: Re: [PATCH] bootstrap: move to tmp/deploy/bootstrap To: Cedric Hombourger , isar-users@googlegroups.com References: <3edbd39e-dc42-b874-5f02-71bade02e5cc@siemens.com> <1542792909-274-1-git-send-email-Cedric_Hombourger@mentor.com> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <5fb99280-6b60-1d5e-729e-ecd26bb2fd91@ilbers.de> Date: Fri, 23 Nov 2018 13:23:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <1542792909-274-1-git-send-email-Cedric_Hombourger@mentor.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: fcxj/qOtFXbP On 11/21/18 12:35 PM, Cedric Hombourger wrote: > Bootstraps should not be placed in tmp/deploy/images/${MACHINES} since they > are only distro and architecture dependent (but not machine dependent). The > older location was apparently causing some build failures for large multiconfig > builds (while this issue was not reproduced, multiconfig builds were done to > make sure the change did not introduce obvious regressions). Applied to the 'next', Thanks, Maxim. > Suggested-by: Jan Kiszka > Signed-off-by: Cedric Hombourger > --- > meta/classes/isar-bootstrap-helper.bbclass | 2 +- > meta/conf/isar-bitbake.conf | 1 + > meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb | 4 ++-- > meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb | 4 ++-- > meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 +- > 5 files changed, 7 insertions(+), 6 deletions(-) > > diff --git a/meta/classes/isar-bootstrap-helper.bbclass b/meta/classes/isar-bootstrap-helper.bbclass > index e6a46ce..f41682e 100644 > --- a/meta/classes/isar-bootstrap-helper.bbclass > +++ b/meta/classes/isar-bootstrap-helper.bbclass > @@ -83,7 +83,7 @@ setup_root_file_system() { > CLEAN_FILES="${ROOTFSDIR}/etc/hostname ${ROOTFSDIR}/etc/resolv.conf" > > sudo cp -Trpfx \ > - "${DEPLOY_DIR_IMAGE}/isar-bootstrap-$ROOTFS_DISTRO-$ROOTFS_ARCH/" \ > + "${DEPLOY_DIR_BOOTSTRAP}/$ROOTFS_DISTRO-$ROOTFS_ARCH/" \ > "$ROOTFSDIR" > [ -n "${FSTAB}" ] && cat ${FSTAB} | sudo tee "$ROOTFSDIR/etc/fstab" > > diff --git a/meta/conf/isar-bitbake.conf b/meta/conf/isar-bitbake.conf > index d552c03..bc52d08 100644 > --- a/meta/conf/isar-bitbake.conf > +++ b/meta/conf/isar-bitbake.conf > @@ -19,6 +19,7 @@ > # OTHER DEALINGS IN THE SOFTWARE. > > WORKDIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/${PF}" > +DEPLOY_DIR_BOOTSTRAP = "${DEPLOY_DIR}/bootstrap" > DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" > DL_DIR = "${TOPDIR}/downloads" > SSTATE_DIR ?= "${TMPDIR}/sstate-cache" > diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb b/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb > index 55696ea..19b60dc 100644 > --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb > +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap-host.bb > @@ -8,8 +8,8 @@ > Description = "Minimal host Debian root file system" > > WORKDIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/${PN}-${HOST_DISTRO}-${HOST_ARCH}" > -DEPLOY_ISAR_BOOTSTRAP = "${DEPLOY_DIR_IMAGE}/isar-bootstrap-${HOST_DISTRO}-${HOST_ARCH}" > -ISAR_BOOTSTRAP_LOCK = "${DEPLOY_DIR_IMAGE}/isar-bootstrap-${HOST_DISTRO}-${HOST_ARCH}.lock" > +DEPLOY_ISAR_BOOTSTRAP = "${DEPLOY_DIR_BOOTSTRAP}/${HOST_DISTRO}-${HOST_ARCH}" > +ISAR_BOOTSTRAP_LOCK = "${DEPLOY_DIR_BOOTSTRAP}/${HOST_DISTRO}-${HOST_ARCH}.lock" > > include isar-bootstrap.inc > inherit isar-bootstrap-helper > diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb b/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb > index 5752b14..3631506 100644 > --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb > +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap-target.bb > @@ -8,8 +8,8 @@ > Description = "Minimal target Debian root file system" > > WORKDIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/${PN}" > -DEPLOY_ISAR_BOOTSTRAP = "${DEPLOY_DIR_IMAGE}/isar-bootstrap-${DISTRO}-${DISTRO_ARCH}" > -ISAR_BOOTSTRAP_LOCK = "${DEPLOY_DIR_IMAGE}/isar-bootstrap-${DISTRO}-${DISTRO_ARCH}.lock" > +DEPLOY_ISAR_BOOTSTRAP = "${DEPLOY_DIR_BOOTSTRAP}/${DISTRO}-${DISTRO_ARCH}" > +ISAR_BOOTSTRAP_LOCK = "${DEPLOY_DIR_BOOTSTRAP}/${DISTRO}-${DISTRO_ARCH}.lock" > > include isar-bootstrap.inc > > diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > index 21454b0..be417a0 100644 > --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > @@ -165,7 +165,7 @@ def get_host_release(): > > > do_bootstrap[vardeps] += "DISTRO_APT_PREMIRRORS" > -do_bootstrap[dirs] = "${DEPLOY_DIR_IMAGE}" > +do_bootstrap[dirs] = "${DEPLOY_DIR_BOOTSTRAP}" > > isar_bootstrap() { > IS_HOST="" > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov