From patchwork Tue Jan 10 04:04:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: roberto.foglietta@linuxteam.org X-Patchwork-Id: 2436 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 10 Jan 2023 05:04:41 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pl1-f192.google.com (mail-pl1-f192.google.com [209.85.214.192]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 30A44d3U007954 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 05:04:40 +0100 Received: by mail-pl1-f192.google.com with SMTP id l15-20020a170903244f00b001927c3a0055sf7563926pls.6; Mon, 09 Jan 2023 20:04:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673323474; cv=pass; d=google.com; s=arc-20160816; b=uWZsFFVF9+kglMrOSHVXXICd7zooQ8lhljLzBtMQOcJy9gd+qIc5OaEOl4W0E2Nh6w qijhVJRbxt1nxf1RGG5eofr4/lCo7aFnyHVzr/dlbVRG9CIYdm25iZzdCmI7YgbKWjki NV+YZAkjdM16ASZ1MR7I06tFGSeDxoj9T7QckgN/NI97ejICb/sSXpl7FcMf/c6aLt4F 0kXkTRsDWMED6Nk1Wf/jKLzhNOa/b+4O5kbVSNAR1qElZMfocQzRFVeLE7y8z3S16ocF VG9BQjzdJ3pZjjioMwDvSm0+6aT3XMiFtXjtXxILztFaTPUAtQaOr4gc8MY+PCMpcSdq bqQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=0pU7sfRLPfBH2EccVkfPXlUeDfx6MirWvT1wgi2fwy8=; b=J8/RRnTbU/fi8xlyEXjTJNvF+qvl13m8pAp4UVZLzVvl0BTOVn83zBQ4xNnxfrYAV4 AAtxCH42/Xl6DGOLxSvnR9C0efpOkM3y6LP0CV3JoQggF7af+57LPFWQw5ub/EESgWrz ApfmaUIjV+JHqRJml7q7iRMaKdmGIBWGlBRujY15qT+TH1rk05qeteruhmAUhKPc6daa XGHm6Vnqnk6CvdPs2LOKmKrYL2/BBGnPDA00LY/yZT+4tsRcoBUXY1BiF9EbVZx7Pye3 suqIGWV0YWZQ66Bn16mGR3hJHHZoLuG3ezJpu+giaTc/jngw66dYBTdfctzU3nmPi0J0 zaKA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=0pU7sfRLPfBH2EccVkfPXlUeDfx6MirWvT1wgi2fwy8=; b=VMww/6re6ilWFB7ncVyoodLR+VyDSQL5lUFkOul3PM/IarXkiMm6xUHTOtWDkTweXk hrO0ID9qFbSLeBmm8VM82wbUbERPxqTxh5w9YZbEDr04B3CEGoHZJFGMY6e5Ok+bsA3K vmTM1QyY6dTYoKMvfJd63A8QXs3QURpfuthAM/Vjx+/+X6mmqL/cAK16XtEZEdCILnEb iV99APY/uq+HxP6riyp5V0aohibvKJRYWDR6eBQlfgwEss8tqsaNFGLn7rLeqAWFFMNt 208pTAoX/KVFgo92qZQ+kiLD4aKKb5ha+8eEVecH3EuFUwqzkZqQh4PU8GFocgduspzG v7cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=0pU7sfRLPfBH2EccVkfPXlUeDfx6MirWvT1wgi2fwy8=; b=o6wJGieeVYDioKIMYvpE31Z1nF1S1nmvIygVYzsmV/Rzh2laNvej85q2TE5m/9IpPO 0MS5i9kXAUmYbaJwf0cOnrM9ozIUun7uKPairdXEUFEkhYzW6ZaHfLMQeLgIJEtVkoni Tgv6smTmBFS/B//6cg+Y2GRDbdjsTd7LkAfJ7wcpPcTyJB0f2j30XbgZhKOkiUeOvV1/ J6BMUWEKhrp9RwQd5yxkjb9RLfMEKQRxDs/HnZKCZX4Xa9648rvXWLaBngtm4E469ulR GkeHxIg82/bujvBqqUQ51ZcxyOObvFddpgOXUT4nyTeDSNTB3Ynws1yAiCNckw2eagMu wrGw== Sender: isar-users@googlegroups.com X-Gm-Message-State: AFqh2kqZ6Dj+AQjP6oIg2M+BEs15UVfFOqLJRLv5Wcc+gxpmXh3pXZVr O9iCAFfVM1OMhzpGLTk01tE= X-Google-Smtp-Source: AMrXdXumF5QuLqV0OXMRfJ+fwpDxDu9medAzDung1aqZfsxYdy+LTt+zhm589bjQ366YA3cnC6o/DQ== X-Received: by 2002:a17:902:b613:b0:193:37c2:89d1 with SMTP id b19-20020a170902b61300b0019337c289d1mr383882pls.80.1673323473958; Mon, 09 Jan 2023 20:04:33 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:e352:b0:186:af8a:6095 with SMTP id p18-20020a170902e35200b00186af8a6095ls7172796plc.4.-pod-prod-gmail; Mon, 09 Jan 2023 20:04:33 -0800 (PST) X-Received: by 2002:a17:90b:3c09:b0:226:cd54:874a with SMTP id pb9-20020a17090b3c0900b00226cd54874amr16739979pjb.8.1673323473025; Mon, 09 Jan 2023 20:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673323473; cv=none; d=google.com; s=arc-20160816; b=qCjum0p/VGMJvw8QeuKczWF+tN6wTgZO5L8B3G//GkTg5Ua6aDYqMohktw8d0BRAqQ KqVu0h2JgYcsQF1DHPT/R1UoKAQPJDffJINPf2CiPP37ejHn8p3m7IiVVujUYxC+9Gfe zh+U+d8Kb3MbtsLnWHbqs89w1GX5ZHfeI+PJgjCWwm3xrY5cea0m+3XJnffTzBJgb4mk wh955/AW4+gW3u9aUrAwRYyFX9sIsSMF/38LWQA36xA1WL3/5Wx6pK4FNvpMxGufLM6Z NaaYfYHy5YGAr03+PX/rmhvZlCSS9rESeXNlhInH6+O/zzvmLrCvL2FtFfTI43serKGD V6sQ== 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=S34dmHT9OI6qFS3mR/SHUWinbxV/ba2YKyZf/rfDBh0=; b=ZCzS2f9e1ahlvKdCjntK+X9wb50Vsp2eq+jcWMfztd1fehUHRNUlZZ8YdEDzmE88yE 3kac9FEvrAcqFOK8+zaEmr0sA2b11TnTChqi2DHv3O08N7TPwFlgKFbLoCor0qXnD8uL HwfKRBoiS3W/S8LowkQH4C+gohoE7pw2n2cD3by3c8q2kNwJ8wTIZEeIPGnf0ZWO1NVA eU28PTIrOBMSiPpZmG+sO+9IT/WC6vMsryrsV69oqDmmK8Im6/hGtMUW+JNDxs/M27DB YDjI67AvWikb9CYPpxmWibRgPB+5xs+Fj4hNEz+gx1w5b0D9aivaHcLEQCxITPf2pD9t g1bA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it. [2001:4b7a:2000:18::170]) by gmr-mx.google.com with ESMTPS id w10-20020a17090abc0a00b0022673858f16si38399pjr.1.2023.01.09.20.04.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 20:04:32 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) client-ip=2001:4b7a:2000:18::170; Received: from localhost.localdomain (unknown [IPv6:2a02:8071:3187:7b80:2373:f2dd:a867:c892]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id 5A5A41F94C; Tue, 10 Jan 2023 05:04:30 +0100 (CET) From: roberto.foglietta@linuxteam.org To: isar-users@googlegroups.com Cc: roberto.foglietta@gmail.com Subject: [PATCH v2] dpkg: schroot migration then buildchroot references removed, v2 Date: Tue, 10 Jan 2023 05:04:27 +0100 Message-Id: <20230110040427.1177958-1-roberto.foglietta@linuxteam.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: roberto.foglietta@linuxteam.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of roberto.foglietta@linuxteam.org designates 2001:4b7a:2000:18::170 as permitted sender) smtp.mailfrom=roberto.foglietta@linuxteam.org Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: "Roberto A. Foglietta" dpkg, adding feature: migration to schroot The patchset v.2 by Anton Mikanovich to migrate buildchroot to schroot is not complete because the buildchroot is still used by the dpkg base class which can be freed by buildchroot with this patch which applies on the top of these four: * events: Cleanup lost schroot sessions if any, v2 * imager: Move image types to schroot, v2 * imager: Migrate from buildchroot to schroot, v2 * sbuild: Allow setting custom config paths, v2 v2: remove the lines instead of commenting them, better description Signed-off-by: Roberto A. Foglietta --- meta/classes/dpkg-base.bbclass | 6 ------ 1 file changed, 6 deletions(-) diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass index 260aa73..ce150b3 100644 --- a/meta/classes/dpkg-base.bbclass +++ b/meta/classes/dpkg-base.bbclass @@ -5,7 +5,6 @@ # SPDX-License-Identifier: MIT inherit sbuild -inherit buildchroot inherit debianize inherit terminal inherit repository @@ -123,9 +122,6 @@ do_apt_fetch() { addtask apt_fetch do_apt_fetch[lockfiles] += "${REPO_ISAR_DIR}/isar.lock" -# Add dependency from the correct buildchroot: host or target -do_apt_fetch[depends] += "${BUILDCHROOT_DEP}" - # Add dependency from the correct schroot: host or target do_apt_fetch[depends] += "${SCHROOT_DEP}" @@ -193,8 +189,6 @@ BUILDROOT = "${BUILDCHROOT_DIR}/${PP}" dpkg_do_mounts() { mkdir -p ${BUILDROOT} sudo mount --bind ${WORKDIR} ${BUILDROOT} - - buildchroot_do_mounts } dpkg_undo_mounts() {