From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7024167601088495616 X-Received: by 2002:a05:6000:1b8f:: with SMTP id r15mr8556019wru.27.1635452264445; Thu, 28 Oct 2021 13:17:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:5111:: with SMTP id o17ls1843187wms.3.gmail; Thu, 28 Oct 2021 13:17:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFSaxKOcRijjjEZd7u277ROby8YZ8L3xNaqFFbUSZlboRroGxOplk7Pgjv6gmA/NueMWWA X-Received: by 2002:a05:600c:20f:: with SMTP id 15mr6638758wmi.58.1635452263436; Thu, 28 Oct 2021 13:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635452263; cv=none; d=google.com; s=arc-20160816; b=Nm/g5FcvsrNlCOf+4CM360+Hnomm6os9I2gS+/EipS0TxLqeEWwcH9DrOvr33mer7M iHxTTZc3n1BXeyNqVZ5lAcCQE5h4/InAljdjc/sMh6t+2NP6vY0Vi2GIIrszhojSI2iK +ZSLkgAJZ2mPqCmTm/eCgZpFHjhCrvWcBA0dWu0bgUrqVqMbcbOWbVWTKTknXMWI4Izn ggsMZQ+2htaxpvsjZ9UhEN0on1+Zk+IIBKncSOTXn4UMkkn+et54EDBQq6AJB2YJ/ZDT G+HuC0jom1ZE54ztQtsuL1odmxyHw1XM91cqCVg0+NQMcx8KND3eYi9W+YPH2/6pAwTN TICA== 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:subject:cc:to:from:date; bh=O6dtKz9r46VR/ZLBL/8Exu7uXtMbBWDSriLmYincZ3g=; b=DrQcaR2hhuiJu1WT8bZlnpRixDOWarOyif7xtzTb/vLgyENA8rSoZthHBTqdOQbPxC 7Bmqr88ZwW0CB6AstJR9JouCEgvDUzk4pXWM1d80olaO++ukIzWEsR5Oln/snobmoseK VQpkUqAoCiZtvheVyrUzU17imU3SCFH4+X3HtdxOOdr7CogBXqn14S6zWwJd+akPY/nM FEpneg4YJTKFlRiiSLLAlci0+4ifGhH/sFymti5zB2Y43TNt1cEU7Khl7eYQAc4OwOdF lHrEyIA2bqbA++3P2fMeZ889eazRhJTuNLEgS9EXjcYqOX2AFkf6ZYxzQlcbKw4CyFbA GlGA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id k39si370730wms.1.2021.10.28.13.17.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Oct 2021 13:17:43 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 19SKHgfd003748 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Oct 2021 22:17:42 +0200 Received: from md1za8fc.ad001.siemens.net ([167.87.32.106]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 19SKHgnE021614; Thu, 28 Oct 2021 22:17:42 +0200 Date: Thu, 28 Oct 2021 22:17:41 +0200 From: Henning Schild To: Anton Mikanovich Cc: isar-users@googlegroups.com Subject: Re: [PATCH v2 1/3] doc: Add imager dependencies section Message-ID: <20211028221741.02ca5baa@md1za8fc.ad001.siemens.net> In-Reply-To: <20211028171727.246342-2-amikan@ilbers.de> References: <20211028171727.246342-1-amikan@ilbers.de> <20211028171727.246342-2-amikan@ilbers.de> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: 7OTbyY2RrGb1 Am Thu, 28 Oct 2021 20:17:25 +0300 schrieb Anton Mikanovich : > Include into user_manual.md explanation of imager dependencies should > be added if using wic image type with bootloader-related plugins. > > Inspired by issue #69 > > Signed-off-by: Anton Mikanovich > --- > doc/user_manual.md | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/doc/user_manual.md b/doc/user_manual.md > index 01fe701..1b00a47 100644 > --- a/doc/user_manual.md > +++ b/doc/user_manual.md > @@ -586,6 +586,22 @@ Isar contains additional image type classes that > can be used as reference: > - `ubi-img` > - `wic-img` > > +### Imager dependencies and bootloaders > + > +External tools used for final image prepare inside image type > classes should be declared as `IMAGER_INSTALL`. +It will make Isar to > install following packages into buildchroot before proceeding. + > +If using `wic-img` image type correct bootloader dependecy should be > added to target machine config based on selected wic plugin. + I would make that more generic and explain what IMAGER_INSTALL is in general. Maybe even refer to "native" from OE. The tools are not "external", they are build tools (coming from upstream or maybe a layer) that are not part of the image but needed to construct it. In fact we use that variable in many of our imager classes, not just wic. > +When using legacy BIOS bootloader (amd64/i386 only) dependency on > syslinux should be used: +``` > +IMAGER_INSTALL += "${SYSLINUX_BOOTLOADER_INSTALL}" > +``` > +When using EFI bootloader dependency on GRUB should be added: > +``` > +IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}" wic makes a good example to explain the concept. Note that EFI does not mean grub and having to set IMAGER_INSTALL. It can also mean systemd-boot and no IMAGER_INSTALL. Henning > +``` > + > --- > > ## Customize and configure image