From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6680483261914808320 X-Received: by 2002:a2e:9e04:: with SMTP id e4mr9966433ljk.74.1556199944841; Thu, 25 Apr 2019 06:45:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:894e:: with SMTP id b14ls2192307ljk.3.gmail; Thu, 25 Apr 2019 06:45:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqx076brcMhQlQl8R9Znlru3DWUXGo5x9G7AKBm91JkY4r73W1a94VdQHt77hjOQaPQs+opL X-Received: by 2002:a2e:9b96:: with SMTP id z22mr10458217lji.165.1556199944326; Thu, 25 Apr 2019 06:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556199944; cv=none; d=google.com; s=arc-20160816; b=VmW+oFv+gidfcLZzRuUm24UEaQjFY5UYlaPNN0wCra+i+GbuBULmFRrq0hD+Thm/3v A49o1vVLWr8F+XAyXhmaA3lgpRR/RI+eed4dt0c/2xeJkl5cChulWCVbAhHdf9iAT3zJ tCa/j86fVquoqbibNXGPiTf9YhMQHFyqQAum3AIog6hyl413tQKEloqxB5O00ybL3Vph zpXiQE3xb3QT3Z5vJZFPve3nHpnacBq7fxULgaSpAOY2LZtV7e9B4F46/tOiBuEIBgGQ 7bd/nQ+xT7sfMHIzrwWT34KDFw1T7TabX1Y+GyQwF5kMv1lTsGPwzVyX1+dmrLi/XoXd 8cQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=Oh4nTm1QP7zFzz3XHHRllMD/tXs8GNH7xyruuvPNnyY=; b=oSJ8NXeK7eZUFDeA6VeFD+ger7r3YmAd7xzW7YcQB8X9eTs/d/ADP+FMOJoxojhL66 botwxJGK1brO/wsGxO8zV33+afJ4Z3Ew3y+e1aXaQnieW9jvzM6riozVY7j1ZSrMiUrK RiwWochjyaDo1PnTtuy/SPn7vjoEVmmelD7dw09Jw/Efz/bkQ5ckgXrkuFiDpVIs9win VG1tMU50gvYHc1TeBB6NNeCj21fN+q+9/1AYrjsBnJvfnm8NA33CcFY1D6zaPlWzI9hg ZybFDHJWHaDy0uwx7DovTjXJlRStxUmwY/fTgjvtUPzawRfSUPeuUUk2isGzND94YnG4 1rHA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id u30si373577lfn.4.2019.04.25.06.45.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 06:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id x3PDjhPE024040 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Apr 2019 15:45:43 +0200 Received: from ring.ppmd.siemens.net (linux-ses-ext02.ppmd.siemens.net [139.25.69.232]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x3PDjhOH017181; Thu, 25 Apr 2019 15:45:43 +0200 From: claudius.heine.ext@siemens.com To: isar-users@googlegroups.com Cc: Claudius Heine Subject: [PATCH v4 0/9] Cleanup rootfs creation Date: Thu, 25 Apr 2019 15:44:41 +0200 Message-Id: <20190425134450.13443-1-claudius.heine.ext@siemens.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: tqJ+fum9QPU9 From: Claudius Heine Hi, so after some debugging 'fast' build now succeeds: http://isar-build.org:8080/job/isar_claudius_ilbers_fast_ci/15/ I needed a patch that removes the DISTRO_APT_KEYS from the isar-bootstrap-host as well as some fixes to the paths when cross-compiling. Also raspbian only supports debian-stretch as HOST_DISTRO. Well the lessons learned from this is that the 'standard' CI build does not test cross-compiling as I would have assumed and that there is a 'fast' CI build configuration that tests this. Also some investigation into why rpi-stretch:isar-bootstrap-host accepted a keyring with the raspberry pi keys for building a ordinary debian stretch rootfs at some point needs to happen. There might be a task ordering issue hidden there. regards, Claudius P.S. The 'standard' CI build for this is still running. I got 'E: Couldn't download packages: libpam0g' while bootstraping, which sound like a issue that might be fixed by restarting the build. Maybe using an apt-cacher as proxy might help? 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_APT_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 | 4 ++-- .../buildchroot/buildchroot.inc | 3 +-- .../buildchroot/files/configscript.sh | 4 ++-- meta/recipes-devtools/sdkchroot/sdkchroot.bb | 5 ++--- 14 files changed, 37 insertions(+), 46 deletions(-) -- 2.20.1