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, 18 Dec 2024 20:12:51 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qk1-f183.google.com (mail-qk1-f183.google.com [209.85.222.183]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4BIJCoeS005215 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 18 Dec 2024 20:12:50 +0100 Received: by mail-qk1-f183.google.com with SMTP id af79cd13be357-7b6e132c31esf9285885a.3 for ; Wed, 18 Dec 2024 11:12:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1734549164; x=1735153964; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:sender:from :to:cc:subject:date:message-id:reply-to; bh=txP9xaqMp0vYI62JQLz49cUF5NHYjyAN2a1hfQAZgtw=; b=cbvqau5z4aeiz8LjyrTvp4WD5V4GydSazFr00k43MpNsZtSDsCCZWaPjp0BnmWpL0U CV/lJYdtKPNehJSIQObztFGT6KGZ2N20Iz9R4iNxrbv2ABcwMWK6ByjOGzxdqz6gI196 O3mw8glGHOvkb7XWI91zq99GwzGoVvFHimM/jiYWrxk5TRvXazVdO6CPHZ0TN2ZWlN0B l+733K/E4f6emzfZyqGfKHTEmlDRRsDJQOJ8TkClXLVykBfwbAjAoc0RmbHxwHsnFh6V BamM1hasTsaxPbDyiP58uE1OMBmRj0PKTIzS3LAp5Kr93LWI0IJ0rKW3g/NkI7iOsVLk Vx4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734549164; x=1735153964; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=txP9xaqMp0vYI62JQLz49cUF5NHYjyAN2a1hfQAZgtw=; b=WPi/WX9L4E5//iDAAzrcKmcXLD7N1ts5Y/2nW7cl4ZeGQK+lhQJiJMMQB9YnhvrS/Y z2MscRaGW0Bpwt0SXHkbaq8okTE6XF+v2E/pXN2rDg/GTCf3Wydokxl3G+BkwcbdNZxX qqjly11qE41VJ1PzTuEGTeUPc1psEj6c4ZdMtWzGL1B5/3YOLAAdEK8t6N0akFsvZ541 rDXga/ZQHdSGiY5vUB8cQIwctVmAvp1TS0LjxXA6w1NQSP5MAoCjvGRqKtWuuMUz+ehV J07ggUKIjwbi97LSApWQsl3LFuFO+1uiw+u3eSJ0bpvnt9UTlQumR1S1RtjFHFVU2yEe /EYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734549164; x=1735153964; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=txP9xaqMp0vYI62JQLz49cUF5NHYjyAN2a1hfQAZgtw=; b=e3rtDjHFQWTuP0du3jNtcRxArg9elDIxcGVwg40wrqXI/6akKlr5Xyu0LnGfbAOe51 P9T3HMh3Jx96MPzRYOvnUrzBRFPdTIUEt8P//fchZLg0ovlwKvfnxLh2c6Eu/CvIYlhb 8mqHBsVOnEt6MESW7ez8xjqmsigf+OKxVE7uRTrPE7nrpTG+K5gWHGDrNlT/ro2qzMdz KubRzIaHznchd04/jeUsssb+nzeebKA+723rxShjuGk5ZRAIpkF+rJgGHwsvltGN8oW0 PJow9xTCEyq2txmr+SWvK3crbeAkpkyoMePub/OGqtx6g47+BNqIA8bXfeowE6IivAId ShQQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCWLre/Ahc48Vil7g30pQ9jAZdTdYRsdFUu0GFr9yB5Xxv0pdBWBYG1jiegWwvpWi00qU5ON@ilbers.de X-Gm-Message-State: AOJu0Yy5SCbyuXtwXRGWgm4///G9/KGWGYcpo4BZsnN/mG2Tx40+2AXf GMmVGSbl/vb0zMvkPIOLgSpns0SMBkKJyQeZM7/TOtsQ5LkobQVT X-Google-Smtp-Source: AGHT+IE9/quUCxzCdz3IEhn88jK9IDgmzSGUjPbqEGjS4DLmgXBviRMBMsGb7Dy2dRB/C1lgzN26Aw== X-Received: by 2002:a05:620a:1925:b0:7b6:d26e:9d76 with SMTP id af79cd13be357-7b8638b46demr231299285a.14.1734549164294; Wed, 18 Dec 2024 11:12:44 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:ac8:1189:0:b0:467:77d8:69e7 with SMTP id d75a77b69052e-46a3b18266fls1076251cf.2.-pod-prod-05-us; Wed, 18 Dec 2024 11:12:43 -0800 (PST) X-Received: by 2002:a05:620a:1a9f:b0:7b7:106a:19a2 with SMTP id af79cd13be357-7b9aa8fe99cmr71808985a.31.1734549163304; Wed, 18 Dec 2024 11:12:43 -0800 (PST) Date: Wed, 18 Dec 2024 11:12:42 -0800 (PST) From: Cedric Hombourger To: isar-users Message-Id: In-Reply-To: <671e7ea932648d1aae04cd4a3e7417bba07bf2f3.camel@siemens.com> References: <2839131c-156b-4007-b424-854d267cb0abn@googlegroups.com> <42d0ff25bd5aa83ced4ee45c92e596b666789d01.camel@ilbers.de> <8b76866b-866c-4412-8b7c-f13db0aca2c5n@googlegroups.com> <671e7ea932648d1aae04cd4a3e7417bba07bf2f3.camel@siemens.com> Subject: Re: wic missing squashfs MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_123388_817426680.1734549162754" X-Original-Sender: chombourger@gmail.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.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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-TUID: 27DS6F/dKPnx ------=_Part_123388_817426680.1734549162754 Content-Type: multipart/alternative; boundary="----=_Part_123389_1545829822.1734549162754" ------=_Part_123389_1545829822.1734549162754 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le mercredi 18 d=C3=A9cembre 2024 =C3=A0 11:09:35 UTC+1, MOESSBAUER, Felix = a =C3=A9crit : On Tue, 2024-12-17 at 12:50 -0800, Cedric Hombourger wrote:=20 >=20 >=20 > Le jeudi 5 d=C3=A9cembre 2024 =C3=A0 15:55:35 UTC+1, Uladzimir Bely a =C3= =A9crit :=20 > > On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:=20 > > > I keep getting this error:=20 > > >=20 > > > | ERROR: A native program mksquashfs required to build the image=20 > > > was=20 > > > not found (see details above).=20 > > > |=20 > > > | Please make sure wic-tools have squashfs-tools-native in its=20 > > > DEPENDS, build it with 'bitbake wic-tools' and try again.=20 > > > |=20 > > >=20 > > > I have tried adding squashfs-tools-native to WKS_FILE_DEPENDS,=20 > > > but I=20 > > > get the same error. any thoughts?=20 > >=20 > > Hello.=20 > >=20 > > Try using IMAGER_INSTALL:wic +=3D "squashfs-tools"=20 >=20 >=20 > I have recently run into this (and did this in my layer)=20 >=20 > IMO the wic imager should pre-install packages for everything file-=20 > systems it supports / usable in .wks files. I was going to submit a=20 > patch along these lines so that I could get rid of this directive in=20 > my downstream layer. Should I? This would improve usability / user-=20 > experience if you ask me. =20 Hmm... I tend to disagree. Installing these tools takes time and=20 increases the attack surface of the build itself. By that we basically=20 penalize all users just because it makes things a bit easier for some.=20 attack surface? isn't the sbuild environment of the imager ephemeral? moreover, users are encouraged to build within a (kas-)container, this adds= =20 another line of defense as for build-times, we can quantify but I believe it is negligible. little gains but increased pains (for some at least)? =20 I believe we are reaching out to developers with varying levels of=20 knowledge and that's ok because some just want to focus on their=20 application development duties and do not care about the platform-level=20 stuff, yet they have to use the platform tools (bitbake / isar) to get=20 their job done. From that perspective, I would vote for lowering the=20 barrier of entry =20 of course one approach could be to add some pre-processing task where we=20 parse the wks file upfront to check file-systems that were selected=20 (possibly with some shortcuts to avoid re-implementing a full wks parser in= =20 isar/meta/imagetypes*) but that sounds like adding unnecessary complexity. anyhow, that's my view of the matter. Best regards,=20 Felix=20 >=20 > Thanks=20 > Cedric=20 >=20 > >=20 > > > --=20 > > > You received this message because you are subscribed to the=20 > > > Google=20 > > > Groups "isar-users" group.=20 > > > To unsubscribe from this group and stop receiving emails from it,=20 > > > send an email to isar-users+...@googlegroups.com.=20 > > > To view this discussion visit=20 > > >=20 https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d26= 7cb0abn%40googlegroups.com=20 > >=20 > > > .=20 > >=20 > > --=20 > > Best regards,=20 > > Uladzimir.=20 > >=20 > >=20 > >=20 --=20 Siemens AG, Technology=20 Linux Expert Center=20 --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= ad0e20d5-f37f-4fa8-8842-a26e0503a345n%40googlegroups.com. ------=_Part_123389_1545829822.1734549162754 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Le mercredi 18 d=C3=A9cembre 2024 =C3=A0= 11:09:35 UTC+1, MOESSBAUER, Felix a =C3=A9crit=C2=A0:
On= Tue, 2024-12-17 at 12:50 -0800, Cedric Hombourger wrote:
>=20
>=20
> Le jeudi 5 d=C3=A9cembre 2024 =C3=A0 15:55:35 UTC+1, Uladzimir B= ely a =C3=A9crit=C2=A0:
> > On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
> > > I keep getting this error:
> > >=20
> > > | ERROR: A native program mksquashfs required to build= the image
> > > was
> > > not found (see details above).
> > > |
> > > | Please make sure wic-tools have squashfs-tools-nativ= e in its
> > > DEPENDS, build it with 'bitbake wic-tools' and try aga= in.
> > > |
> > >=20
> > > I have tried adding squashfs-tools-native to WKS_FILE_= DEPENDS,
> > > but I
> > > get the same error.=C2=A0 any thoughts?
> >=20
> > Hello.
> >=20
> > Try using IMAGER_INSTALL:wic +=3D "squashfs-tools"
>=20
>=20
> I have recently run into this (and did this in my layer)
>=20
> IMO the wic imager should pre-install packages for everything fi= le-
> systems it supports / usable in .wks files. I was going to submi= t a
> patch along these lines so that I could get rid of this directiv= e in
> my downstream layer. Should I? This would improve usability / us= er-
> experience if you ask me.=C2=A0

Hmm... I tend to disagree. Installing these tools takes time and
increases the attack surface of the build itself. By that we basicall= y
penalize all users just because it makes things a bit easier for some= .

attack surface? isn't the sbuild e= nvironment of the imager ephemeral?
moreover, users are encourage= d to build within a (kas-)container, this adds another line of defense

as for build-times, we can quantify but I believe it= is negligible.
little gains but increased pains (for some at lea= st)? =C2=A0

I believe we are reaching out to dev= elopers with varying levels of knowledge and that's ok because some just wa= nt to focus on their application development duties and do not care about t= he platform-level stuff, yet they have to use the platform tools (bitbake /= isar) to get their job done. From that perspective, I would vote for lower= ing the barrier of entry
=C2=A0
of course one approach = could be to add some pre-processing task where we parse the wks file upfron= t to check file-systems that were selected (possibly with some shortcuts to= avoid re-implementing a full wks parser in isar/meta/imagetypes*) but that= sounds like adding unnecessary complexity.

anyh= ow, that's my view of the matter.


Best regards,
Felix =20

>=20
> Thanks
> Cedric
>=20
> >=20
> > > --=20
> > > You received this message because you are subscribed t= o the
> > > Google
> > > Groups "isar-users" group.
> > > To unsubscribe from this group and stop receiving emai= ls from it,
> > > send an email to isar-us= ers+...@googlegroups.com.
> > > To view this discussion visit
> > > https://groups.google.com/d/msgid/isar-users/2839131c-1= 56b-4007-b424-854d267cb0abn%40googlegroups.com
> >=20
> > > .
> >=20
> > --=20
> > Best regards,
> > Uladzimir.
> >=20
> >=20
> >=20

--=20
Siemens AG, Technology
Linux Expert Center


--
You received this message because you are subscribed to the Google Groups &= quot;isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-use= rs+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-use= rs/ad0e20d5-f37f-4fa8-8842-a26e0503a345n%40googlegroups.com.
------=_Part_123389_1545829822.1734549162754-- ------=_Part_123388_817426680.1734549162754--