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, 06 Nov 2024 09:21:41 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f61.google.com (mail-lf1-f61.google.com [209.85.167.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4A68Le5E017132 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 6 Nov 2024 09:21:40 +0100 Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-539eeb63cc3sf4131720e87.2 for ; Wed, 06 Nov 2024 00:21:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1730881295; cv=pass; d=google.com; s=arc-20240605; b=dP/PSM3SZaqDtHSSCz3tT1A6ovr1ovK+mN7gKbWd6M7Mo73F2XO52yxnknBpRrM37L ECQWiM3JYjse9e20WB+VahXJpwo4o9jFMSPsbEi9UlkyjUi4fmcOnUKOtQahUofEFcjM iV5H+vd9sZTHVq3x8QJkXyoINfOi5szu1Twy/E2zRU8NhqvumoTVRQoGqtc+XfdgyuxW TZjKFDlo2dhAHBFeY1EWygc+pa4KbNAV+BV99FN36a0RGcUAP2qyvPFHddsju2oKcs7u 9FgG9rsxTe7/07SA/x5/DRrMWwGNzYMhY4mQBTKhmTzAygRaRTxsLQWacPqfps+cyNhB 9nWw== 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:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=jUbMfEEIU3rM9+TzA0RjLa/62jdLxlPLUagS/F1ddYc=; fh=e6y5CM3GjFW0R9+j6AnA43gckT/RXwyqKUUvTIr4JnE=; b=FCiQWjIwgEj4RmJudiXcHl4dDqMWg9JhP4qFuTCIn30bz9zoc+bakyoCLHcU8TCmeg YDAo9xc/JmY2subA716XFZq8JhB/qDPo3QeI0lY4HMQr6msUQJ9wEyGgJ0MGwMXZbs7Q XDIsZi82oftTWbvY1bL+4H9uIRUa6y8Q9RuNo7fXXXMXd6JINsE12Th5RldzBwBvGU/X U5p0+Ghez1CTjfjzua6cBJTxHdMPN2uwCEXAtd7IaYWufuImO1PhViMdXFdTIsa2WS8W xX1Sd/aBHZaPUJPss9yqvnAzhxnFNhOi2bDiaht97F7bLpbnvfVhTiARuBx1CYJtXQgF xnBA==; darn=ilbers.de ARC-Authentication-Results: i=2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1730881295; x=1731486095; 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:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=jUbMfEEIU3rM9+TzA0RjLa/62jdLxlPLUagS/F1ddYc=; b=dxJP92MBGmR/PY1YTwZ2nJq89XRkwTf8NmSUEQVYg2nwWdDlMFIt2LY3HOkLmKOuI1 iBXNJSZtA9InjhMMjqjPXVduEa03SnbuHgP2Tk+ISfXXPAXJE9mzt/r2oC6w/EoxV5Fa U54jLIRzijFsj4ZmJeIUGuY8GIqeswXXMH70SYU4mfz20vcHR4LXJjmtVxJsxgVXTA8N w5YBAFWuPaADtVoevkDwHU6bS8ZBNKtSie+qHr6L+T7Ml9Mm1MPGjfW+JNrmzfk0kTi3 yzatfDKrq8/rCQ0uuLLglsLv7hvmS/yXCB6BZYW9OaP6vFhXRgOu0v0Y58hg22D9Lzno jaMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730881295; x=1731486095; 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 :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=jUbMfEEIU3rM9+TzA0RjLa/62jdLxlPLUagS/F1ddYc=; b=qM/+ZjqW0c3ZX8IVl7+oIpcFBwn4rZCBt0lWEGqkU4rnG3plM1BDXqSyzc7vj1SeAh L/FnjBlaqbOZjow9ZRx4nDEph9VLyDdyyBBV/Aovu3iDOYCXszxuMNC+GFU0KHF35lFm upgJsFuMzADPOJpokPZUJoRYKtIIhBqniLam8RzgJnlppYB9FnHP2vRMzI8iqdm7KEnN h4qebov3iD2X/tISZ/zj55vkQs69xpkuoIz4eUYOLkekhtkTG6+LeNOjsCXYilEARzz/ l7CfJVJW4rUtYGicXYSnRtw4U4BlW1KwG0NHsBe8LgHhnzKmGqLOhK3+p4Nw6wKeS5+v ctiw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXb/nof5v3VKaMf3SVMvKBt/HZxHCHga2SHPjBCPJEDf8ahpRz4HU6JNYYXvRjet/jdUEPd@ilbers.de X-Gm-Message-State: AOJu0YwbRwGuIWhJmDZzEuXWsUqbZErXODAZXjQO4r2WWgW/R39w8yRE gi6/lDxOv/G/97O6G8wMdl15yp8ektnpiEdRS+DmHI29T1RRuQJ6 X-Google-Smtp-Source: AGHT+IE94Z6bYK50jZzOdc4BM5c/zB6BgoqPoZu5nT7M1WVOR9iz6UqXJ34zh2T0FrFsy3tvg68eZQ== X-Received: by 2002:a05:6512:a87:b0:53b:27ba:2d11 with SMTP id 2adb3069b0e04-53b7ece09bamr14500165e87.16.1730881294207; Wed, 06 Nov 2024 00:21:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:2215:b0:539:fdc6:d67e with SMTP id 2adb3069b0e04-53c7972c266ls996064e87.2.-pod-prod-01-eu; Wed, 06 Nov 2024 00:21:32 -0800 (PST) X-Received: by 2002:a05:6512:3b1e:b0:539:f630:f233 with SMTP id 2adb3069b0e04-53b88f406e2mr14234293e87.57.1730881292026; Wed, 06 Nov 2024 00:21:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730881292; cv=none; d=google.com; s=arc-20240605; b=P4WIGXTDuxeL9qPUn6M6VGFvUlQcl1rsKEJAm3I8f+yYkT3pNut7EpBng7HEnPzkp8 gc2GQNw2ZgTMh6DqFQ2iaVQ6rDNK7Aov6IP2+2g7ut1LUBbzO5MWG/Z9QLl2ftw3pj00 +wCOYg/R6ufVOcx5+Hl5qKuNMyMjAVRvkvnSbUKa2Df0CrVErEiIRP7tx4UDybDhqbqi UjFbxllOTq5JzPYs8yMHwoExnYImDGTLwYqBOnEksBN0bq2IaqR8zQa82BEJRjeG/ypx Lv1jPinEWwDSrra1rjdcu4MDswveco+LVeAakngOymUl1zdYblSdYZy5KMUJ+EUXpkaT jNcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=MKoTmwDjs9D84BMIr779E6Areb5Ua0PXxvZZWTGivxM=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=gJAOhu6b61xfDCJ0lV9wNR/mtmVypjJ6i/aQqVgbPqOzRPnF1Otc+0zxpRQV1XF965 1oWTB/M7jPotH5R+qbJp5JDVp7h3jParKd2E0f+AzwaVcUW45zwFPGVgtPGTFDTNe9vh PV8u3beEM8bNiFD08TgImFlUA5CN6Ow1eX6dejs+aGggP9AgcY6a67aw1tbN6H1S4xG7 fCvWHTg4lYmj5DEapUdpiYeZE9PUStDxzkdtA7ES8r2yd93e7mny6GmOHa2Ovm5dKR3p bJBoloSr4ixyVjyWe4CgwXR7VI0G7dY6eIU7KlSrSHZktEbtCbz/LBNPCZG1BpGETr5G jWnA==; dara=google.com 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 Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-53c7bccc4e7si504280e87.8.2024.11.06.00.21.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2024 00:21:32 -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; Received: from user-B660.promwad.corp ([159.148.83.114]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4A68LOjx016956 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Nov 2024 09:21:31 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v11 8/8] user_manual.md: Update boostrap related documentation Date: Wed, 6 Nov 2024 10:21:17 +0200 Message-Id: <20241106082117.1089554-9-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241106082117.1089554-1-amikan@ilbers.de> References: <20241106082117.1089554-1-amikan@ilbers.de> 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: amikan@ilbers.de X-Original-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 Content-Type: text/plain; charset="UTF-8" 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: Zmr2r4+l/GxG Update documentation in user manual and recipes API changelog. Signed-off-by: Anton Mikanovich --- RECIPE-API-CHANGELOG.md | 13 +++++++++++++ doc/user_manual.md | 15 ++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md index 56ebfeb7..deb1c4e1 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -680,3 +680,16 @@ Bitbake exit status depends on ISAR_FAIL_ON_CLEANUP bitbake variable: rootfs_do_umounts is not called from do_rootfs_finalize anymore. Every individual task that does mounting must also do the umounting at its end. + +### Default boostrap recipe changed to mmdebstrap + +New virtual packages bootstrap-host and bootstrap-target are introduced. +There are two providers of bootstrap-host/-target currently: + * isar-mmdebstrap: deafult one using mmdebstrap to prepare rootfs + * isar-bootstrap: previous bootstrap implementation left for compatibility + +So default bootstrap procedure is now performing with mmdebstrap. +Previous implementation still can be selected by setting in local.conf: + +PREFERRED_PROVIDER_bootstrap-host ?= "isar-bootstrap-host" +PREFERRED_PROVIDER_bootstrap-target ?= "isar-bootstrap-target" diff --git a/doc/user_manual.md b/doc/user_manual.md index 284847c8..06561247 100644 --- a/doc/user_manual.md +++ b/doc/user_manual.md @@ -66,7 +66,8 @@ The steps below describe how to build the images provided by default. ### Install Host Tools -The supported host system is >= buster. +The supported host system is >= buster for debootstrap and >= bullseye for +default mmdebstrap provider. Building `debian-trixie` requires host system >= bookworm. @@ -75,7 +76,9 @@ Install the following packages: apt install \ binfmt-support \ bzip2 \ - debootstrap \ + mmdebstrap \ + arch-test \ + apt-utils \ dpkg-dev \ gettext-base \ git \ @@ -93,6 +96,12 @@ apt install \ zstd ``` +If using isar-bootstrap provider, debootstrap should be installed instead of +mmdebstrap: +``` +apt install debootstrap +``` + If your host is >= buster, also install the following package. ``` apt install python3-distutils @@ -135,7 +144,7 @@ apt install qemu ### Setup Sudo -Isar requires `sudo` rights without password to work with `chroot` and `debootstrap`. To add them, use the following steps: +Isar requires `sudo` rights without password to work with `chroot`. To add them, use the following steps: ``` # visudo ``` -- 2.34.1 -- 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 email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20241106082117.1089554-9-amikan%40ilbers.de.