From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7199542182322110464 X-Received: by 2002:a05:6102:340b:b0:3f7:f257:3022 with SMTP id p11-20020a056102340b00b003f7f2573022mr4549864vsi.55.1676274040763; Sun, 12 Feb 2023 23:40:40 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6102:1498:b0:412:21e8:b26d with SMTP id d24-20020a056102149800b0041221e8b26dls585989vsv.2.-pod-prod-gmail; Sun, 12 Feb 2023 23:40:40 -0800 (PST) X-Google-Smtp-Source: AK7set8IeJpPN9zNWJw1aH616piiHlOVNDl6btRlAIe6gCKRwJZRhvWPFwD4mjqLMLpqRPLNrXza X-Received: by 2002:a67:e181:0:b0:412:1691:5e87 with SMTP id e1-20020a67e181000000b0041216915e87mr1303941vsl.2.1676274040107; Sun, 12 Feb 2023 23:40:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676274040; cv=none; d=google.com; s=arc-20160816; b=i0LA1jtpx8DE1EXrLFjr+rSnHr62mbxPDYYWcYq3E+S11jLByK58aV3Y6hRxLyij/Z u6DIBaaBCRhpCVH+dzDxT0BMKw2wjS6bSp8Hd5u/2O8rzhqF2ztmkiIlQm06BkeyD3tP FL+V20NqfcUQ183Dk1IqU2rmnhK8B9zg58tY845FeTd/RsMszoZ4gAxRzLJHzA9Gko8y TRjwWXY3x7w55o0RDUk5Sid3CxWjX4DatTxR5wLoy5vYq4xLBHV/TmQaYBbSPgUnDy8z UGAdEajv9IlOpecenXnKCpJyi0ltq56D4kOHwNlY+yvmVvgaPbzsGgRcXs1ToKfeRlvq lApA== 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=mzTXCmKq9CR/hmyQtY26aVIz7JKe0yRGKWgpajrvVp4=; b=B417AUfKGKaPDfdHcGwfX1nEBLSAmPhfkN79Z3luWoHG8KzRcQcvFtdAeYRQykdPnZ VSTCR1Ieo8gf9Uvs9z51Qt1F3IVeiqVle8b6rA4zNZGHoHiX/4L8QEC09u+3C1YLM8lD l2fcJKYEThNKzOfKOScZFds5u+kFNaWvBcQupnGCB4WH2qozQvyGhTtyCQqnGNQXy4PL cpRFA3DZ+E2L4ckxq3q990InzSjPZRAMiwLURtNoZY93mEP3iMFRD6xVDbyrWMgs5Dhc SUCV49Vvr5Chynm/ZzbLDg4aSFuQ5Ull2xjzBg75ZU+7eO7e+ik5Oxf3SkaZSST1WfIs WxoA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id r22-20020a67cd96000000b003d04209e4e2si1191052vsl.0.2023.02.12.23.40.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Feb 2023 23:40:40 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@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 amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from user-B660.. ([85.254.74.215]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 31D7eapu003492 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Feb 2023 08:40:37 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v3 0/6] Imager schroot migration Date: Mon, 13 Feb 2023 09:40:28 +0200 Message-Id: <20230213074034.3949-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: +67xET91WUEB This patchset moves Isar imager from buildchroot to schroot usage as the next step after moving to sbuild. Imagers of every target are now running in separate schroot sessions with independent overlays on top of basic unchanged schroot. Any changes made inside overlay will be dropped after the usage to keep basic schroot clean. There are still couple of issues need to be solved before the usage: - there are no documentaion updates - repro test case still fails But now at least fast CI passed ok. Changes since v2: - Rebased on next - Do not keep schroot session open outside tasks - Get rid of final cleanup code - Fix sstate test case - Get back buildchroot removing Changes since v1: - Rebased on next and bitbake update - Fix some build cases Anton Mikanovich (6): isar-apt: Move cleanup to postprocessing imager: Migrate from buildchroot to schroot imager: Move image types to schroot imager: Split imager deps between image types CI: Fix used chroot recipe name meta: Remove buildchroot meta-isar/conf/local.conf.sample | 2 +- meta/classes/buildchroot.bbclass | 71 -------------- meta/classes/image-tools-extension.bbclass | 96 +++++++++++++------ meta/classes/image.bbclass | 35 +++---- meta/classes/imagetypes_vm.bbclass | 9 +- meta/classes/imagetypes_wic.bbclass | 89 ++++++----------- meta/classes/isar-events.bbclass | 1 - meta/classes/rootfs.bbclass | 12 +++ meta/conf/bitbake.conf | 3 - .../buildchroot/buildchroot-host.bb | 13 --- .../buildchroot/buildchroot-target.bb | 10 -- .../buildchroot/buildchroot.inc | 73 -------------- .../buildchroot/files/build.sh | 17 ---- .../buildchroot/files/common.sh | 32 ------- .../buildchroot/files/configscript.sh | 15 --- .../buildchroot/files/deps.sh | 47 --------- .../sbuild-chroot/sbuild-chroot.inc | 1 + testsuite/cibase.py | 6 +- 18 files changed, 128 insertions(+), 404 deletions(-) delete mode 100644 meta/classes/buildchroot.bbclass delete mode 100644 meta/recipes-devtools/buildchroot/buildchroot-host.bb delete mode 100644 meta/recipes-devtools/buildchroot/buildchroot-target.bb delete mode 100644 meta/recipes-devtools/buildchroot/buildchroot.inc delete mode 100644 meta/recipes-devtools/buildchroot/files/build.sh delete mode 100644 meta/recipes-devtools/buildchroot/files/common.sh delete mode 100644 meta/recipes-devtools/buildchroot/files/configscript.sh delete mode 100644 meta/recipes-devtools/buildchroot/files/deps.sh -- 2.34.1