From patchwork Thu Nov 28 11:15:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "srinuvasan.a" X-Patchwork-Id: 3966 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 28 Nov 2024 12:08:14 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f188.google.com (mail-qt1-f188.google.com [209.85.160.188]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4ASB8CSP018919 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 28 Nov 2024 12:08:13 +0100 Received: by mail-qt1-f188.google.com with SMTP id d75a77b69052e-466a500d7b5sf10139461cf.1 for ; Thu, 28 Nov 2024 03:08:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732792087; cv=pass; d=google.com; s=arc-20240605; b=awjUzpGyhIfzwbOjHIgnZIs0fmTjdM5OWrGVOmcHS/y7mQHfM8n0ik9rbbCKIehMW6 cMGQXbcSYO6kSCZAON4MYRu6evnBrxjPokZVCnD8xible8p5iaqlO8LfPizc3NkYvr13 32A7VOinv9krMYghUKFcbsaiJpRJihK04og18110W+7kH/Oh83O4ydwn83ppH96URWpC WNhLCdjHB9+fsSRKvS2aJW/Wdl/UZdHozXfpp5TGuYKaqomkWq/3DgcdTfLRtzxwMckn J1CnCO69qGHtim58PdOeEc1JacXGohPSvTztGSkJrX8kxfde97Jj0Efl8RBKHf+UWCbw 8kGQ== 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:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aOD0OtarWvX1LRf+Qzf4Kcr150OhjkOJ1NEznW3h2i8=; fh=CuXnyI+hk5nXJGV7W5RA+VFXiyj5lKZOMXGu0oMsJCo=; b=MoySMcVB2JVjhLASHWFvMTw3WgOOdrczJE5UqcSkT5zG1gzmOH+2KZAVXtRqIR6gLr nj2opkEfh4q+QPxyzR7EVHO5sL4ZwgeVWynpJR8My5Pn2BI6NDELyVQguYqHQWhrNWR+ QX+UaHQNSyuTmHHZc3gR7TQ3zJdiZXTjNHS2UHiQfXvWeLcJbJ7Y/lNSEIJgRZfQwDOH l9FpjTMzVuu+LKsJ9LSzRuyTqsyiJRn8mn7hCkXqf/EcZxs9bAYtgIAQAcq3HfY7GkX0 K6vBV/7OXNlTfFeAcPjsMJmEQLsBTj9tLFdyc1amfAHAWFKHC+E+4T361r6k//vp35Xd /E0Q==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b="k2LKyX8/"; spf=pass (google.com: domain of fm-1324425-202411281108046164f79224f0886a78-vdikts@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-1324425-202411281108046164f79224f0886a78-VdiKtS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1732792087; x=1733396887; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=aOD0OtarWvX1LRf+Qzf4Kcr150OhjkOJ1NEznW3h2i8=; b=GgoN8RlJ6P0+A29tF5YQIFCZceR5Be7nbH/IP/VGjNyeSBQgpCPKlVKMdG/bvDRPoJ K/l8zsECl+3G6zcy164KqviuELnrW4eIeTgLga6bSr1LyKvhFJr/Vg8ZHlVLffvF7buW RRese47r0Oq8gzAe8sfJnehmRvRfDzI8p/u2V99yFflNZ/ztSmRrSWp9LrBUpFj/Q6rd Bu0T3CpIgYbkRTHWoWqpjNnhZ9iFUdHHm1PL4/1fONlQF9PE1U4rxQ7htEGApqv4VAjX I5B4l+PtsAkUtEJEDxFcMWjJmfmmjtuFGOW5aj+YAzuwhsYSuJD5l+1UE+ztPiZTJOgR mNTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732792087; x=1733396887; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aOD0OtarWvX1LRf+Qzf4Kcr150OhjkOJ1NEznW3h2i8=; b=HAWhUqAHPkv7XkNfxt93eN3Llb+9hdYppj/hD3mt2w7k9qv32XqT/I+Bco1PFOAkpp mKI1XSuxjajRXC6d2rTStMI2NO/2FaWSDgy5ppvZHPXR4yFNIR02eYxqRU1UEAyKTRDO HwcLigbKg0WVEdaADA4ID4uk6mjRhAlHQzGGdnlKP2zhZB7eEQY9wUqIbYVFevWpmkq6 DUV9g2My6xHvfbpOBA9BYI42lHwgPiLnzV9EnnnCsbFaH0BEjx097EOIKYvS+Pp9cijV LaE94WJ++yrmLb66boRdc1g4+qa8qfjswSgfoofXIz1wU3kmU1T0zSpKY6oHsdWcMtyx /Ahg== X-Forwarded-Encrypted: i=2; AJvYcCXfU9EskebC8IlTSr/kJ1q2zPpCjOmWvLl1vAoz3NxcTG4rqu0JtstYpVknyJrgJLMLxCRj1z4=@isar-build.org X-Gm-Message-State: AOJu0YzY95Q3XfixhdaDXGIVgcl0vi9HS032+SbFOTv577rrHwKClnW4 E5M1UTwR4RTrQgKAZzapDUe2PRhYYr//+2aLwKZfB26XqyAGjdY4 X-Google-Smtp-Source: AGHT+IHUSSy9HpClN4l8oWrsxOE8vrsXGgAWM5jXh6CmUNBVKn+ujKrAwlXGi6/TYPxMuY8vK9xxkQ== X-Received: by 2002:a05:622a:1a0c:b0:466:b2c3:75ff with SMTP id d75a77b69052e-466b35569eemr87464731cf.23.1732792087014; Thu, 28 Nov 2024 03:08:07 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:59c8:0:b0:466:a845:1c92 with SMTP id d75a77b69052e-466c1ff71cfls8945371cf.1.-pod-prod-07-us; Thu, 28 Nov 2024 03:08:06 -0800 (PST) X-Received: by 2002:a05:6102:150a:b0:4af:4945:9a1c with SMTP id ada2fe7eead31-4af49459c5cmr7401497137.19.1732792086180; Thu, 28 Nov 2024 03:08:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732792086; cv=none; d=google.com; s=arc-20240605; b=LzvgkPDv6AJpAqKGvkqeqlJX4UTBTppcMFfnkMzDZ9lN7BkzBfAak+Y3LbcKSlGWc0 gSnwdHBxyvG3/ZZy13MMeDkGKfCKGm6qukuyBX26b3YUnTuK0Nme3Ns7FwTIPp1lX6SX NrsBP2+aTWtUr9EKDpgVkJkzjZOoY/5wzqnyp60XJJHi0AHRGJXUEffWQ1oXWG5pe7P4 RmATGL53t2NdW6paLcPQbCZ07ETTpT44tVsvZXj7PDo0C3Dtf+kf31oEUkAVDB1XSaus kkOWtkovZPptbKCQJAQVm/m46ooqGr1RPtriQM5vsGCpXy6EMEQaC89O1KtTDhcq0k+f Igrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=tSunOX6vTS7+jI/nggAvSaX/LtIYPQcfY5z77Ve6n9s=; fh=kAHvV5cWHMByN5crjWvgp+/pwc4jKTq6gGh8ffDReWA=; b=FrfrFfWmeCf1zKToQOm0GRLp5XvriScyucM9D8GCB7+vQdzfqgRRgHoEX0oT8002gp QTa45PkRBEe35HvIZKcy36uZzDEUpiBgiA9g+RAxh1yBSzZAVCD8kVMof4fOxW14wlWR kZConcJc9kNqfKi8nUERB3NNnqKG0HX5yg3YfGMOzHp0hrZTAF6dqCiptskij0oLYCtX afB8uSi40WlvpKwSHUKpDJUYkOfr7S+/BmuudF8M2zroOULw9D+DtjUJFUnzry21+zib VJGf4qAkbbAnDgl4r8IqKCvzPYdLetjQokcJ5bN1Wja3911bSDOEx3j452jqQ2YbYKz9 tLjg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b="k2LKyX8/"; spf=pass (google.com: domain of fm-1324425-202411281108046164f79224f0886a78-vdikts@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-1324425-202411281108046164f79224f0886a78-VdiKtS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net. [185.136.64.228]) by gmr-mx.google.com with ESMTPS id ada2fe7eead31-4af58f005acsi48080137.0.2024.11.28.03.08.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Nov 2024 03:08:05 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1324425-202411281108046164f79224f0886a78-vdikts@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) client-ip=185.136.64.228; Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 202411281108046164f79224f0886a78 for ; Thu, 28 Nov 2024 12:08:04 +0100 X-Patchwork-Original-From: "srinuvasan.a via isar-users" From: "srinuvasan.a" To: isar-users@googlegroups.com Cc: amikan@ilbers.de, Srinuvasan A Subject: [PATCH] technical_overview.md: Update mmdebstrap related bits Date: Thu, 28 Nov 2024 16:45:51 +0530 Message-Id: <20241128111551.1083124-1-srinuvasan.a@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1324425:519-21489:flowmailer X-Original-Sender: srinuvasan.a@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b="k2LKyX8/"; spf=pass (google.com: domain of fm-1324425-202411281108046164f79224f0886a78-vdikts@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-1324425-202411281108046164f79224f0886a78-VdiKtS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: srinuvasan.a@siemens.com Reply-To: srinuvasan.a@siemens.com 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=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Srinuvasan A Update technical_overview documentation with mmdebstrap related changes. Signed-off-by: Srinuvasan A --- doc/technical_overview.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/technical_overview.md b/doc/technical_overview.md index 0f491c1a..eb19cf52 100644 --- a/doc/technical_overview.md +++ b/doc/technical_overview.md @@ -68,7 +68,7 @@ Also called sbuild chroot rootfs, because of the usage by sbuild tool. One of the key aspect of Debian philosophy claims the fact, that everything in Debian should be built within Debian environment. To follow this rule, Isar introduces the new component - schroot rootfs. Schroot rootfs is typical Debian -filesystem that is created using standard Debian tools: debootstrap, apt-get. +filesystem that is created using standard Debian tools: debootstrap/mmdebstrap, apt-get. The source of packages can be either official Debian repositories or custom repositories created by user. It could be one of the following type: @@ -80,7 +80,8 @@ repositories created by user. It could be one of the following type: Schroot rootfs lifecycle can be described as following: - Schroot rootfs starts out with a minimal base system that was generated by - the isar-bootstrap-{host,target} recipe that uses debootstrap and apt-get. + the isar-bootstrap-{host,target}/isar-mmdebstrap-{host,target} recipe that uses + debootstrap/mmdebstrap respectively and apt-get. - Common development packages needed for packages building are installed on top of this rootfs. @@ -106,7 +107,7 @@ Target filesystem lifecycle can be described as following: Whole Isar build process can be split into the following steps: - - Generation of a minimal base system by isar-bootstrap using debootstrap and + - Generation of a minimal base system by isar-bootstrap/isar-mmdebstrap using debootstrap/mmdebstrap and apt for each configuration requested by the user (Debian distro, machine and architecture). @@ -131,14 +132,14 @@ This recipe implements several tasks which are executed in this order: 1. `do_generate_keyring`: Generates a new gpg keyring from the gpg keys specified in the `APTKEYFILES` variable. This keyring is later used by - debootstrap and apt to verify the apt repositories. + debootstrap/mmdebstrap and apt to verify the apt repositories. 2. `do_apt_config_prepare`: Generates aggregated apt preferences and source files based on the `DISTRO_APT_PREFERENCES` and `DISTRO_APT_SOURCES` variables. That are later deployed to the minimal base system to be used by `apt` itself. -3. `do_bootstrap`: Bootstraps a minimal debian base system using debootstrap. +3. `do_bootstrap`: Bootstraps a minimal debian base system using debootstrap/mmdebstrap. 4. `do_apt_config_install`: Installs the apt configuration generated by `do_apt_config_prepare` to the base system as well as an apt base