From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7278939938131804160 X-Received: by 2002:aa7:da91:0:b0:523:36cf:8bf1 with SMTP id q17-20020aa7da91000000b0052336cf8bf1mr9741462eds.34.1695105148632; Mon, 18 Sep 2023 23:32:28 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:c251:0:b0:525:5162:2bbc with SMTP id y17-20020aa7c251000000b0052551622bbcls936192edo.1.-pod-prod-08-eu; Mon, 18 Sep 2023 23:32:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+6i0MqLyrGsAjTfzT3KYs2PcOQQcfDiiItgGlvkasXPICoXm1t8/o1O3SeHG7h0dzofkJ X-Received: by 2002:a17:906:53d0:b0:9a2:eb6e:2cf1 with SMTP id p16-20020a17090653d000b009a2eb6e2cf1mr9090346ejo.5.1695105146708; Mon, 18 Sep 2023 23:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695105146; cv=none; d=google.com; s=arc-20160816; b=Bc98O7e+rHiDvMwx7FDdGFrxyhN/ifjAEYbHgngy1rTxV0wDcK3KEiyHUpOUosoOhG AjgnRd+Wd/1P6obBEiCZ7ZTkjGCHhOELgePRVdiKB0N3cV3F+X957Uz7862Gf+wC3yB/ nMELcdibqPaCJ4cylfRvhIfkzjDmDLftK8zR4uPh1rKk/b2WVeCEjXdCoiiPS0nR5TVs TgUvfiXmFbASl2Yw2M70uIxamt1uIX40JmAFsYVF0r42J0nO4UGYEZKgGW7sd0EdV+Zh L0S9vIhApxld7yGGCvfMA1qwNIRv9UjnN8gtiEzZwobnjrZpdWVZg2iGeI3whRLzIKxT RjHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=bi2gfmqyovUZJJUnyMSzKxLvag4aSDQ5rVdrUMGaEws=; fh=O+ZMFUiiuyZKsfz7Fw8hsdknZlxcSFSsLsCydBEGD0o=; b=VgEy+ggXadThb+dl8bV4BAMTP1eVRgz+SPsklBjreOK8jfhAtq4un8krlV6AxSa9Ce xdKqyS51M/93pCy5AleiBaLx9r8mVW6HceynHUHIP6e6z4ft67ECizGf7IGqYf5kZbG1 lEH9kBQCpmLCSQuOj3MskMrBjC24/fm6u/+zlHS72DFhrhxL/P06p/z73Fj6tApWK0xf XJ7trpjljU/u6NDwiqHKRwqZvP1bylj9qrt2e2oewJHiLNiZ2EFCvO6oFkfbYh8hSKmI edw0s4BOI6t8vdzDP/D05Be5q7sQo6hYtZRDK4Kpkj4OgcJHdwar6YkaGKQ4yvqGfAYV 0hHw== 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 Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ho19-20020a1709070e9300b009adbb310e33si819145ejc.0.2023.09.18.23.32.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Sep 2023 23:32:26 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@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 ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de 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 38J6WOio014133 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Sep 2023 08:32:25 +0200 Message-ID: <297464639e24e0ed5e97493a46ad19728268af1c.camel@ilbers.de> Subject: Re: [PATCH 09/13] kas: Add image type selection From: Uladzimir Bely To: Jan Kiszka , isar-users@googlegroups.com Date: Tue, 19 Sep 2023 09:32:26 +0300 In-Reply-To: References: <20230915064426.27676-1-ubely@ilbers.de> <20230915064426.27676-10-ubely@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (by Flathub.org) MIME-Version: 1.0 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: v0NcmcNhQfK2 On Sat, 2023-09-16 at 15:27 +0530, 'Jan Kiszka' via isar-users wrote: > On 15.09.23 12:14, Uladzimir Bely wrote: > > This allows to choose between base and debug Isar image. > >=20 > > Signed-off-by: Uladzimir Bely > > --- > > =C2=A0Kconfig=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 | 25 ++++++++++++++++++++++++= - > > =C2=A0kas/isar-image-base.yml=C2=A0 |=C2=A0 7 +++++++ > > =C2=A0kas/isar-image-debug.yml |=C2=A0 7 +++++++ > > =C2=A0kas/isar.yml=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=A04 files changed, 38 insertions(+), 4 deletions(-) > > =C2=A0create mode 100644 kas/isar-image-base.yml > > =C2=A0create mode 100644 kas/isar-image-debug.yml > >=20 > > diff --git a/Kconfig b/Kconfig > > index 4c2e2339..66c6c44a 100644 > > --- a/Kconfig > > +++ b/Kconfig > > @@ -1,8 +1,31 @@ > > =C2=A0mainmenu "Isar configuration" > > =C2=A0 > > +menu "Image type selection" > > + > > +choice > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0prompt "Image type selection= " > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default IMAGE_BASE > > + > > +config IMAGE_BASE > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bool "Base image" > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0help > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 This is the basic Isa= r image with bare minimum of > > preinstalled packages. > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 It's technically clos= e do the debootstrapped system with > > packages > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 required to boot up t= he system. > > + > > +config IMAGE_DEBUG > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0bool "Debug image" > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0help > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 This image includes s= ome tools preinstalled useful for > > debug. > > + > > +endchoice > > + > > =C2=A0config KAS_INCLUDE_MAIN > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0string > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default "kas/isar.yml" > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default "kas/isar-image-base= .yml" if IMAGE_BASE > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0default "kas/isar-image-debu= g.yml" if IMAGE_DEBUG > > + > > +endmenu > > =C2=A0 > > =C2=A0config KAS_BUILD_SYSTEM > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0string > > diff --git a/kas/isar-image-base.yml b/kas/isar-image-base.yml > > new file mode 100644 > > index 00000000..bfe3860b > > --- /dev/null > > +++ b/kas/isar-image-base.yml > > @@ -0,0 +1,7 @@ > > +header: > > +=C2=A0 version: 14 > > +=C2=A0 includes: > > +=C2=A0=C2=A0 - isar.yml >=20 > - kas/isar.yml >=20 > You should have seen the warning... >=20 Thanks, didn't notice it. Fixed in upcoming v2. > > + > > +target: > > +- isar-image-base > > diff --git a/kas/isar-image-debug.yml b/kas/isar-image-debug.yml > > new file mode 100644 > > index 00000000..f8f6977a > > --- /dev/null > > +++ b/kas/isar-image-debug.yml > > @@ -0,0 +1,7 @@ > > +header: > > +=C2=A0 version: 14 > > +=C2=A0 includes: > > +=C2=A0=C2=A0 - isar.yml >=20 > Same here. >=20 > > + > > +target: > > +- isar-image-debug > > diff --git a/kas/isar.yml b/kas/isar.yml > > index 500bf1d4..47cbc290 100644 > > --- a/kas/isar.yml > > +++ b/kas/isar.yml > > @@ -3,9 +3,6 @@ header: > > =C2=A0 > > =C2=A0build_system: isar > > =C2=A0 > > -target: > > -- isar-image-base > > - > > =C2=A0repos: > > =C2=A0=C2=A0 isar: > > =C2=A0=C2=A0=C2=A0=C2=A0 layers: >=20 > Jan >=20 > --=20 > Siemens AG, Technology > Linux Expert Center >=20