From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7380320960081035264 X-Received: by 2002:a2e:7205:0:b0:2ea:e2d2:6231 with SMTP id 38308e7fff4ca-2ec0e5bb9c5mr20942231fa.33.1718364882909; Fri, 14 Jun 2024 04:34:42 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:81d4:0:b0:2eb:e49e:d605 with SMTP id 38308e7fff4ca-2ec0284bfe6ls11543051fa.0.-pod-prod-05-eu; Fri, 14 Jun 2024 04:34:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIJ3XQuxByN7JwkYoTNmZbmjwVTDmNoGQCfIrs0Il9l7kaLsmg3+kGYhnGlDVc3W1tZNXX X-Received: by 2002:a05:651c:8e:b0:2db:a9c9:4c5e with SMTP id 38308e7fff4ca-2ec0e482856mr19818061fa.21.1718364880759; Fri, 14 Jun 2024 04:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718364880; cv=none; d=google.com; s=arc-20160816; b=dBMAu09GsclrthdzwULnPAycpOXTfS0cc1t2NKCg70miJkWOPYkTzb55xj/FEw176I GS1Crc7vXj3yM5PkpsNzub461Vn0eEJTGJlUBl0Sps/dftnqSbMU9HmMhCqt9swK9x4T HpUQG7BzewzBSiU4oCfepoyC1M5H9JGxI9DYoDzcxX9MlBNDLsVNaR3X/SYjhbtDj69M 4ec3kvntyRZvB0w/Bbbk51fLSByZvR3hrS+uxNVjQgkVAYeRG+HW/HsP1k4xtt3KE6on t//FpFpuzK720x+3Lj7oMEN4ELGrdnSpCD/tbw+nytDvyxeZ5fxSXiu2pGA4w8hpm0fo lWAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=lvwF6WKv3P8yYcwuDcop6W4F//6PVxPP1jXGzzC+HQA=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=DxPJ4+iAXpdYw1VRDOkPq0/Y4sypDyvpY/2E0RNiNyY1XtU5yxLXgq8otyMblXkEts Gi+UUb+EHp+1T5VGgmSBq7ZfsCk9aRqQZyQOW8FLzitpc5faedK0jyoLyRhc6avFcTOJ WVdep6VgwTfnu+9xuThkx26mgkkZpRfEHdeWPpBRWcbtlZWB7GudosXPTtP7nyWqbK5M y/UfT6B76DkvW/b+gYxoQxE6tjAqd3DQJGw73YZ1JU5FMlDuC51T7Chcr+y3bjsHwwOJ abUTIfaL9SuWlplwQXr+2KbAAawD7HLthrK9ggs9QFZGLyFg+15ohdXO51fatBF+7pyE AoLA==; 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 Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-422874def6bsi1185705e9.2.2024.06.14.04.34.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Jun 2024 04:34:40 -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 localhost.localdomain (r154-240-38-77-broadband.btv.lv [77.38.240.154] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 45EBYZP5032043 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jun 2024 13:34:40 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v9 8/8] user_manual.md: Update boostrap related documentation Date: Fri, 14 Jun 2024 14:34:25 +0300 Message-Id: <20240614113425.122722-9-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240614113425.122722-1-amikan@ilbers.de> References: <20240614113425.122722-1-amikan@ilbers.de> 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: KPAYfSAyHO3k 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 12ea93ec..589dae66 100644 --- a/RECIPE-API-CHANGELOG.md +++ b/RECIPE-API-CHANGELOG.md @@ -629,3 +629,16 @@ into kernel kbuild package. Only the "host" specific package is built automatically at cross builds. * Support emulated module build with cross-compiled kernel for linux-module + +### 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 b12c7692..d3b41ae8 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