From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6690944878080163840 X-Received: by 2002:ac2:41da:: with SMTP id d26mr20430135lfi.34.1557936109381; Wed, 15 May 2019 09:01:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:294b:: with SMTP id p72ls273707lfp.11.gmail; Wed, 15 May 2019 09:01:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzE1EWHHALdIsXyfmXYXXDGm1KMpwTJiWeRW4Q0uwODMYA0LMZREhSw9gI80CfzPiJBJFOq X-Received: by 2002:ac2:4857:: with SMTP id 23mr7096660lfy.158.1557936108851; Wed, 15 May 2019 09:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557936108; cv=none; d=google.com; s=arc-20160816; b=Gu/tjYQmKOSsBd/qsWNh+HReyA1KF2ew16H/8Do9IeSIB07FlQyKgX5Ukor9LsRsF8 zuD+qn/CYNJkqO06UmOlnmAC7Je/Rk+G0iYZABdFn6YHF+PxaX5YWIWMHmpBJiC1U5Ln rXz1leKpO3H6EvErAD+xvLs4lPAY2jzsFR2HTWBshhvY0dZMdIJwk/A2erkSTyWq0+Fb KcyZ6I9gQyqhoIc9+igk6fly59SgWjGn2U+pGWQf5HndLbD/RYOS8k0H9aI3jPprc7if oEk2CN7UC+QgU6zJIr8zxaghGl3+vIu7f/RCKMN6IWUGWo0W0qojXKXAhpEH8SdHG79w VUIA== 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:cc:to :subject; bh=7vqXHHvAGpaabu4Dsumv1rEcS7LkWrwUP88JLBJEeeA=; b=05QuR0YzDpS8N6unpv0OLolM+X3sR7Erb+kfoDMsh7RxqeAJBdXHxBeQsxn1cQr9Ln g07XeLmGtIf8C2eP/M0R3HLdYAu8AaQ4tbi7yflYBMmT84L5HOVUZ9QcpXBiUAC7RVot dmmMsGp7Fbpt5SvlEVCQCktrhLLwx7JT9RZ6gXKw1dc7vYqm4INEE0BhKGFgGsSZaND/ jTZBI/anGSEHP1PNJg6iRXFX875vGqmczOS1JEBqkMBxSW985G6PcSE6Cw9rWwTp4CFR XeM8Z2hms+GPjfZxyC3E29NhUhlZAAfEA6/PlUSr7tsiKZeH9GB56T9eKuEyZ2y8UTao jynw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of mosipov@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id p21si332876ljj.1.2019.05.15.09.01.48 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 May 2019 09:01:48 -0700 (PDT) Received-SPF: pass (google.com: domain of mosipov@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mosipov@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.1.29] (115.165-131-109.adsl-dyn.isp.belgacom.be [109.131.165.115] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id x4FG1g96005894 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2019 18:01:44 +0200 Subject: Re: [PATCH v6 0/9] Cleanup rootfs creation To: claudius.heine.ext@siemens.com, isar-users@googlegroups.com Cc: Claudius Heine References: <20190515101149.22187-1-claudius.heine.ext@siemens.com> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <284a3fe4-17e1-6a26-6cd7-826146cd92cd@ilbers.de> Date: Wed, 15 May 2019 18:01:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190515101149.22187-1-claudius.heine.ext@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 6XofqADGlAzS On 5/15/19 12:11 PM, claudius.heine.ext@siemens.com wrote: > From: Claudius Heine > > Hi, > > the issue apparently was that the PF variable of buildchroot-host.bb was > overwritten when buildchroot.inc was included. Moving the PF declaration to > buildchroot-target fixed this issue and now resulting paths are correct. > > The fast build succeeded: > http://isar-build.org:8080/job/isar_claudius_ilbers_fast_ci/17/ Applied to the 'next'. Regards, Maxim. > regards, > Claudius > > changes from v5: > - moved PF from buildchroot.inc to buildchroot-target.bb > > changes from v4: > - Maxim rebased patchset to current next > > changes from v3: > - added patch for isar-bootstrap-host > - fixed HOST_DISTRO for raspbian-stretch > - fixed cross-compiling paths > > changes from v2: > - replaced 'ROOTFS_ARCH' with 'HOST_ARCH' in sdkchroot.bb to avoid > populate_sdk issue > > changes from v1: > - fixed typo in commit message > > Claudius Heine (9): > isar-bootstrap-host: disable DISTRO_BOOTSTRAP_KEYS usage > isar-bootstrap-helper: move 'HOST_ARCH' and 'HOST_DISTRO' to > base.bbclass > move 'HOST_DISTRO_APT_SOURCES' from bootstrap-helper to isar-bootstrap > buildchroot.bbclass: only cross build if HOST_ARCH != DISTRO_ARCH > isar-bootstrap/buildchroot/sdkchroot: refactor PF and WORKDIR > bitbake.conf: remove unneeded and differently used variables > image.bbclass: make IMAGE_ROOTFS overwritable > bitbake.conf: set default QEMU_ARCH variables > buildchroot/configscript: make creation of builder uid/gid idempotent > > meta-isar/conf/multiconfig/rpi-stretch.conf | 1 + > meta/classes/base.bbclass | 9 +++++++++ > meta/classes/buildchroot.bbclass | 2 +- > meta/classes/image-sdk-extension.bbclass | 2 +- > meta/classes/image.bbclass | 2 +- > meta/classes/isar-bootstrap-helper.bbclass | 18 ++---------------- > meta/conf/bitbake.conf | 13 ++++++++----- > .../isar-bootstrap/isar-bootstrap-host.bb | 13 +++++-------- > .../isar-bootstrap/isar-bootstrap-target.bb | 6 +----- > .../isar-bootstrap/isar-bootstrap.inc | 1 + > .../buildchroot/buildchroot-host.bb | 3 ++- > .../buildchroot/buildchroot-target.bb | 1 + > .../buildchroot/buildchroot.inc | 2 -- > .../buildchroot/files/configscript.sh | 4 ++-- > meta/recipes-devtools/sdkchroot/sdkchroot.bb | 5 ++--- > 15 files changed, 37 insertions(+), 45 deletions(-) > -- 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