From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 20 Nov 2024 06:34:33 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f60.google.com (mail-lf1-f60.google.com [209.85.167.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4AK5YWkj003834 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 20 Nov 2024 06:34:32 +0100 Received: by mail-lf1-f60.google.com with SMTP id 2adb3069b0e04-53dac48127csf2680724e87.1 for ; Tue, 19 Nov 2024 21:34:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732080867; cv=pass; d=google.com; s=arc-20240605; b=Cmh/h8DojtDR7+pkPK8209l4pY+iWOukAbx7ZzuuHee/afL4S1OF5SxRWGSXG8Tb15 GjPRMdpafxZ4B5kVQu/p211DauXKQxjDbjjJPwu7wiisCK4hXjFj5AwzVfh8CVFAyFTq r9Y7t1l5Q0tiSVycBu1aToWq3k1bxvH6aSDAgHqRujEPt6Bfp/ChInueMbTZC1I/0zN2 Ar3fFdWsc+HNulBIP87Y6Xx5MmQQu6bTnjgAWY0HZVy9e0I5KtFirN3Q5yBLp/f+lLyB x5PkyB9pPW48eKVlgu2i3MKA6FxhOgA96ZwSpSCQV1l5gFzBr6fhVEzfCIgFSftHmluc tKMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=npgGDeJSIcN6aylKxbyzDF/hn917uAZHveDJXaxh9a8=; fh=D2qGVaLZpc1Wga41vt6kZGoYB6awOungebekoLGMMGM=; b=Hk6iHJS7GGeSznX7ldEmPoWLQJbXQm1gyZ/tHaIfAJiuvSsyIT3oRxR/xQ1oH5VIkQ WWhwB5AuxIlZObXgtfg0jiHuACJGVFk7irHWb8Hr5lk9Gl1armnpydGZ5M/7vPw26T7i 6PC1R5QZKwI5YIhuS6JtSd2SVfywJIYe30CabPayfAP/oOJCMpAdwS2WOTl7V/iFWqel JJWi+gg9VHacs8HEqPHLZwUpj/FRJFrcrqtRwstrGN0plr3yQUPezT6kNyvxqTNWDv5R yEmxywNZ21DlW2SAcoS99VFSz4ZyaIwdSQcehDJSzKzsEZyx30P99QPkjq9vhNu+wD9h pFUA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1732080867; x=1732685667; darn=ilbers.de; 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:user-agent:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=npgGDeJSIcN6aylKxbyzDF/hn917uAZHveDJXaxh9a8=; b=wlvN9XWAjzVNow5pa6GFT+h4NI7BJm3h5Bv7H7SR5wtulmvbZPiM5vUgw/IhE0iqCY 06HXG7nrNLW03qYiskKLYh+28B8ZqtLtbM7V88famkgfFB9yy/xPLSSUv+yl88TOBwYS 5us49KmqriBOMnFg4B5cHN75frXDx1GM39yX45Z/tt0ucuIVgDUT5Y5W/M3QbIDgNzJm 2y9p7GVIS10CTqq9PfvrB6+wa4pAQsqkVgY5rZoVflWT+t9gh7K/MRSOJd8VhPwybQ0D FhXWC8wTrIbrw/tZf8ii4RBe7lIDkvCCDCCyBpmgDfPqDK6Yf/dJ6x38XDNh31L/J7zg gxmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732080867; x=1732685667; 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 :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=npgGDeJSIcN6aylKxbyzDF/hn917uAZHveDJXaxh9a8=; b=WW40eTcXpGn9CCy6v1C+hwmCY1xkAivDzdmw/1IkrJmXUy/IWT8tYR1GYk77+pIfKj BUhyYXK3cUH3b8cLuNBgiCt+0vrNhCnPTTTHBLZsvPC0TB7hzg13nw9lmNDW9TYx3H14 9VGdym1UIZ+nvU9FRyrQKpbUW87Khu82oY5BMzCP9PbzXB/mjq7uRsUosvJpHwaryWTW DCoF3yhLbhSk/eN6s6Y1b3wVrnMRvx+YFL01kmCIl6WUeTCwtyu0MIa0WtL7MmC2dM/t c2zcb/e+ceQp9I1vKbwn6YcHohcZGQIumqpINBZ+fRDHVkdMcwHmDXq4EYkh2hqPp//H FQCA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWwizJ3+oEJgzt2LikAGRsQyW+T9cP3KaiZoar/VwxOoJjY1R5bAevrSaM1hz2Yf2Iv155H@ilbers.de X-Gm-Message-State: AOJu0YwIjALyxIFhDIa80L8QwohXHjsMzhBdeaOMEXpN31ap0ItjFZSG qKFAViJ85YD9hKNM0uFFuoVW2mj/hrV/FzgyHQQoj8+peMZSuSrv X-Google-Smtp-Source: AGHT+IH83l29SV6iu++KoQNHx403QFvY/kurEWyXJgxewEmQ83z1d4ZJ9FcYmeMtD+FNZ0av7qGaBg== X-Received: by 2002:a05:6512:a8c:b0:539:f827:2fbc with SMTP id 2adb3069b0e04-53dc13417ecmr341538e87.26.1732080866223; Tue, 19 Nov 2024 21:34:26 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac2:4e09:0:b0:53d:a8d1:7a65 with SMTP id 2adb3069b0e04-53daf555980ls281466e87.0.-pod-prod-04-eu; Tue, 19 Nov 2024 21:34:22 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVzaneN0XP6lCVXsjFP49SqRr/ZlzFsmSo1qjXJkwL0VGVtbC0RXFMfVQeauqB/LIX0BW0Mh6QfgiGI@googlegroups.com X-Received: by 2002:a05:6512:118e:b0:53b:1526:3a63 with SMTP id 2adb3069b0e04-53dc1371349mr454050e87.56.1732080861732; Tue, 19 Nov 2024 21:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732080861; cv=none; d=google.com; s=arc-20240605; b=Kl50nfePZSWU+3jg2vljLIS94uBtzi6GPOMKJgyAFwtNGny0S76TdA7vfjXfjxrh8o J9qni2fJf61TwzG/WtGTd7m78CqEqnKgfzdOy6BYCwLQa6Rm/kczxglpvm3JRlsN/vIa POPPy27co37Jz6bEeeVIdlCR+Oe0QptIsnqEOd8AZ5zwqFhMzx9cY3XgeOsieph0sC+9 h6UW6cbEa74jIjhdVzc3AVxMVA/w4crCfFU/hIODSGkZRF14j+qwVvjY44LAVPk9kW5n NyXWHxdAFsC7IGyhsse9BVajdc6d1t5x01295RI1U01BMt/5nPgUAG382r/ouN7HeY+R hUtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=tAEmNOLlLhWZmfUXetAggNeHXHVW/k0TEuE2+GHW94o=; fh=JZvUnqoG0jWph92hWpw0EINycbLveqkIcdkusZDYok4=; b=fDLsB+icJMGW+Mjb5n+Ku8+5a8biswMSo7X7TolOnHhWMo3kf1kk0FsbU/e/R24qNj 1kfzVq28cuyBB22ziJ/2yAKnSarVGlGKMGwHUbdIslZLMirKSEaYm5ojNqETdkdOA2UP iJKy81NAF+vuMhEoA02Lvdc6FimW8ZCYtuc2m0qVVbIyjC5jxVzuriBU+8lh2nydH+6y 1r5NYWPqUY33/GM7+Iv38bqFydwG4QnGoDWktmi86HyKmKhjsLSMmjIBnK2OFXCDEKrn rSUI77q7p0QyGVWSZeqaMJCxbBoM0czmuFruLfAdB5zgGwbqpSY1IvpM5PAnVGjvv1gk o9kA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-53dbd399a74si63569e87.0.2024.11.19.21.34.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Nov 2024 21:34:21 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4AK5YILV003824 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Nov 2024 06:34:20 +0100 Message-ID: Subject: Re: [PATCH v11 0/8] Migrate to mmdebstrap From: Uladzimir Bely To: Anton Mikanovich , isar-users@googlegroups.com Date: Wed, 20 Nov 2024 08:34:18 +0300 In-Reply-To: <20241106082117.1089554-1-amikan@ilbers.de> References: <20241106082117.1089554-1-amikan@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.1 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,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-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de 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-TUID: McJOyJP6tizb On Wed, 2024-11-06 at 10:21 +0200, Anton Mikanovich wrote: > Switch Isar from debootstrap to mmdebstrap. >=20 > It makes isar-bootstrap target ~10..30% faster on both cross and > native > rootfs types. Some measurements on qemuarm64-bookworm (required debs > are > predownloaded and used during deb-dl-import): >=20 > - 20s vs 28s for "isar-bootstrap-host" > - 1m32s vs 1m48s for "isar-bootstrap-target >=20 > Also mmdebstrap support using SOURCE_DATE_EPOCH for images > reproducibly > out of the box. But the main advantage is an ability to remove sudo > for > debootstrapping later on (this needs "uidmap" package installed). >=20 > This patchset was successfully tested with following downstreams: > - cip-core > - meta-iot2050 > - xenomai-images >=20 > This change breaks Debian Buster support as host distro, but previous > isar-bootstrap (with Buster support) still can be selected by setting > in local.conf: >=20 > PREFERRED_PROVIDER_bootstrap-host ?=3D "isar-bootstrap-host" > PREFERRED_PROVIDER_bootstrap-target ?=3D "isar-bootstrap-target" >=20 > Changes since v10: > - Rebase on next. >=20 > Changes since v9: > - Rebase on next. > - Separate common code into bbclass. > - Skip deb cache on rootfs packing. >=20 > Changes since v8: > - Rebase on next. > - Keep isar-bootstrap recipes. > - Implement bootstrap provider selection. >=20 > Changes since v7: > - Rebase on next. >=20 > Changes since v6: > - Reorder patches. >=20 > Changes since v5: > - Improve keyring handling. > - Fix mmdebstrap hooks. >=20 > Changes since v4: > - Rebase on next. > - Migrate from apt-key to gpg. > - Fix Ubuntu and RPi targets. > - Cleanup debootstrap mentions. > - Fix commit messages. >=20 > Changes since v3: > - Rebase on latest next. > - Remove temporary patch 7 since kas:4.0 already includes mmdebstrap. >=20 > Changes since v2: > - Rebase on next. > - Fix commit messages. > - Update host requirements. >=20 > Changes since v1: > - Move mmdebstrap tmpdir to workdir. > - Fix kas building. > - Improve mounts cleanup. >=20 > Anton Mikanovich (8): > =C2=A0 isar-bootstrap: Move common parts to bbclass > =C2=A0 meta: Add mmdebstrap recipe > =C2=A0 meta: Allow selecting bootstrap providers > =C2=A0 testsuite: Allow variable bootstrap providers > =C2=A0 mmdebstrap: Fix missing dpkg available > =C2=A0 mmdebstrap: Move preparations to hooks > =C2=A0 isar-bootstrap: Use tar output instead of directory > =C2=A0 user_manual.md: Update boostrap related documentation >=20 > =C2=A0RECIPE-API-CHANGELOG.md=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0 13 + > =C2=A0doc/user_manual.md=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 15 +- > =C2=A0meta-isar/conf/local.conf.sample=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 4 + > =C2=A0meta/classes/bootstrap.bbclass=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 226 ++++++++++++++= ++ > =C2=A0meta/classes/rootfs.bbclass=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2= =A0 13 +- > =C2=A0meta/conf/bitbake.conf=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 3 + > =C2=A0.../isar-bootstrap/isar-bootstrap-host.bb=C2=A0=C2=A0=C2=A0=C2=A0 |= =C2=A0=C2=A0 2 + > =C2=A0.../isar-bootstrap/isar-bootstrap-target.bb=C2=A0=C2=A0 |=C2=A0=C2= =A0 2 + > =C2=A0.../isar-bootstrap/isar-bootstrap.inc=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 | 244 ++-------------- > -- > =C2=A0.../isar-mmdebstrap/isar-mmdebstrap-host.bb=C2=A0=C2=A0 |=C2=A0 19 = ++ > =C2=A0.../isar-mmdebstrap/isar-mmdebstrap-target.bb |=C2=A0 14 + > =C2=A0.../isar-mmdebstrap/isar-mmdebstrap.inc=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 | 216 ++++++++++++++++ > =C2=A0testsuite/cibase.py=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 9 +- > =C2=A013 files changed, 540 insertions(+), 240 deletions(-) > =C2=A0create mode 100644 meta/classes/bootstrap.bbclass > =C2=A0create mode 100644 meta/recipes-core/isar-mmdebstrap/isar- > mmdebstrap-host.bb > =C2=A0create mode 100644 meta/recipes-core/isar-mmdebstrap/isar- > mmdebstrap-target.bb > =C2=A0create mode 100644 meta/recipes-core/isar-mmdebstrap/isar- > mmdebstrap.inc >=20 > --=20 > 2.34.1 >=20 Applied to next. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= b46f5ffa383e2149a4d5f4796af1ec4b1dd0e03f.camel%40ilbers.de.