From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7231875531357028352 X-Received: by 2002:ab0:4612:0:b0:781:f0:61d0 with SMTP id m18-20020ab04612000000b0078100f061d0mr6148769uaa.0.1683802234508; Thu, 11 May 2023 03:50:34 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6102:3b07:b0:434:5385:c48d with SMTP id x7-20020a0561023b0700b004345385c48dls5191883vsu.3.-pod-prod-gmail; Thu, 11 May 2023 03:50:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Luz69vAO1sY/K9O9DbuKDCD/SRSTr9PX/zg7vGHBDJwfIfFSBX+oYddedwDXCd/M8r44z X-Received: by 2002:a05:6102:3cd:b0:430:ce0:ae90 with SMTP id n13-20020a05610203cd00b004300ce0ae90mr6719711vsq.14.1683802233624; Thu, 11 May 2023 03:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683802233; cv=none; d=google.com; s=arc-20160816; b=uwqGRfM9G2Tl4/7nFkkGvrXAjcrhIFGbyBCD1sWEdY8yj42Imu10uABo4BaJ3/eh2W 7UbSfQlKc7sHFvEkBaSz/jDhMGXAOBOI+FJZpfq5RdneMSpQU0NKTQgoyRjU1bGkJKzo CBPCSc8eC6mOf7fge1XZr7oKUN0ddc2DQrWo1QnV7M5SwJkrb+DiW5/LAv1Zp6ye9WUI WEs/6Rr4KPYg0vICWySIUARtG4Gifn5BEh2U22X0wjvb1CxAjW4Qj4ZYL1fL3M+NSdAc FDYKkuvNG/2RDvJg0oNH4sKfe0BSmKpbnsksHEOWzuaIg9hLYvc8fQUt0eWGFioo+9j2 LrPA== 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=3OT5FNJRKpSG5EVmWWo0vXnbDH9WpJvQQV0UNvkBmjg=; b=JfbirJpw9wjbLU5yOdi+8ZZvOU0/zv60ADa9QBHgHP0K21sqU8rq/6BYopg9OPPqc2 ztrlweoSctzJ/7PxiGQbaxu7T+o5P7aL79UHbq4whtwxVgMPx9wVBfXzHK3+q2H6XbRa csLH5x188+AgIZpI4xyQkXSjpCpimlFS9NSofNk9H8LZ3+J5wt82vWDFIP6cjE0hZeGp RVFiwZEPHGCek9FaqdDFqETIO6HH2hwM9KxHcGhuVu52bwAtXfeGEL5yOtTow0EjoyQC RLTiZSCrrGokB/l1r09z8PWr5If2x/WeSD02+d6k4adntnIKqFBGH8z7jTdjL2W2guJw tMNA== 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 bt22-20020ab03f16000000b0077d3c410308si1015050uab.2.2023.05.11.03.50.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 May 2023 03:50:33 -0700 (PDT) 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.75.115]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 34BAoQ00011851 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 12:50:27 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v4 0/7] Imager schroot migration Date: Thu, 11 May 2023 13:50:13 +0300 Message-Id: <20230511105020.1881496-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: Uc0tWNqenxxA 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. ​ Changes since v3: - Rebased on next - Fixed full CI build issues - Add documentation updates - Fix task name in CI - Some code cleanup ​ 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 (7): 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 doc: Update chroot documentation doc/offline.md | 2 +- doc/technical_overview.md | 107 +++++++++--------- doc/user_manual.md | 53 +++++---- meta-isar/conf/local.conf.sample | 2 +- meta/classes/buildchroot.bbclass | 59 ---------- meta/classes/crossvars.bbclass | 6 - meta/classes/deb-dl-dir.bbclass | 4 +- meta/classes/image-tools-extension.bbclass | 99 +++++++++++----- 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 + scripts/contrib/convert-overrides.py | 2 +- testsuite/cibase.py | 8 +- 24 files changed, 218 insertions(+), 481 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