* wic missing squashfs
@ 2024-12-05 14:47 ` Stephen Ecker
2024-12-05 14:55 ` Uladzimir Bely
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Ecker @ 2024-12-05 14:47 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 721 bytes --]
I keep getting this error:
| ERROR: A native program mksquashfs required to build the image was not
found (see details above).
|
| Please make sure wic-tools have squashfs-tools-native in its DEPENDS,
build it with 'bitbake wic-tools' and try again.
|
I have tried adding squashfs-tools-native to WKS_FILE_DEPENDS, but I get
the same error. any thoughts?
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d267cb0abn%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1065 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-05 14:47 ` wic missing squashfs Stephen Ecker
@ 2024-12-05 14:55 ` Uladzimir Bely
2024-12-17 20:50 ` Cedric Hombourger
0 siblings, 1 reply; 8+ messages in thread
From: Uladzimir Bely @ 2024-12-05 14:55 UTC (permalink / raw)
To: Stephen Ecker, isar-users
On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
> I keep getting this error:
>
> | ERROR: A native program mksquashfs required to build the image was
> not found (see details above).
> |
> | Please make sure wic-tools have squashfs-tools-native in its
> DEPENDS, build it with 'bitbake wic-tools' and try again.
> |
>
> I have tried adding squashfs-tools-native to WKS_FILE_DEPENDS, but I
> get the same error. any thoughts?
Hello.
Try using IMAGER_INSTALL:wic += "squashfs-tools"
> --
> 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 email to isar-users+unsubscribe@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d267cb0abn%40googlegroups.com
> .
--
Best regards,
Uladzimir.
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/42d0ff25bd5aa83ced4ee45c92e596b666789d01.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-05 14:55 ` Uladzimir Bely
@ 2024-12-17 20:50 ` Cedric Hombourger
2024-12-18 10:09 ` 'MOESSBAUER, Felix' via isar-users
0 siblings, 1 reply; 8+ messages in thread
From: Cedric Hombourger @ 2024-12-17 20:50 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 1775 bytes --]
Le jeudi 5 décembre 2024 à 15:55:35 UTC+1, Uladzimir Bely a écrit :
On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
> I keep getting this error:
>
> | ERROR: A native program mksquashfs required to build the image was
> not found (see details above).
> |
> | Please make sure wic-tools have squashfs-tools-native in its
> DEPENDS, build it with 'bitbake wic-tools' and try again.
> |
>
> I have tried adding squashfs-tools-native to WKS_FILE_DEPENDS, but I
> get the same error. any thoughts?
Hello.
Try using IMAGER_INSTALL:wic += "squashfs-tools"
I have recently run into this (and did this in my layer)
IMO the wic imager should pre-install packages for everything file-systems
it supports / usable in .wks files. I was going to submit a patch along
these lines so that I could get rid of this directive in my downstream
layer. Should I? This would improve usability / user-experience if you ask
me.
Thanks
Cedric
> --
> 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 email to isar-users+...@googlegroups.com.
> To view this discussion visit
>
https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d267cb0abn%40googlegroups.com
> .
--
Best regards,
Uladzimir.
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/8b76866b-866c-4412-8b7c-f13db0aca2c5n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2907 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-17 20:50 ` Cedric Hombourger
@ 2024-12-18 10:09 ` 'MOESSBAUER, Felix' via isar-users
2024-12-18 19:12 ` Cedric Hombourger
0 siblings, 1 reply; 8+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2024-12-18 10:09 UTC (permalink / raw)
To: chombourger, isar-users
On Tue, 2024-12-17 at 12:50 -0800, Cedric Hombourger wrote:
>
>
> Le jeudi 5 décembre 2024 à 15:55:35 UTC+1, Uladzimir Bely a écrit :
> > On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
> > > I keep getting this error:
> > >
> > > | ERROR: A native program mksquashfs required to build the image
> > > was
> > > not found (see details above).
> > > |
> > > | Please make sure wic-tools have squashfs-tools-native in its
> > > DEPENDS, build it with 'bitbake wic-tools' and try again.
> > > |
> > >
> > > I have tried adding squashfs-tools-native to WKS_FILE_DEPENDS,
> > > but I
> > > get the same error. any thoughts?
> >
> > Hello.
> >
> > Try using IMAGER_INSTALL:wic += "squashfs-tools"
>
>
> I have recently run into this (and did this in my layer)
>
> IMO the wic imager should pre-install packages for everything file-
> systems it supports / usable in .wks files. I was going to submit a
> patch along these lines so that I could get rid of this directive in
> my downstream layer. Should I? This would improve usability / user-
> experience if you ask me.
Hmm... I tend to disagree. Installing these tools takes time and
increases the attack surface of the build itself. By that we basically
penalize all users just because it makes things a bit easier for some.
Best regards,
Felix
>
> Thanks
> Cedric
>
> >
> > > --
> > > 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 email to isar-users+...@googlegroups.com.
> > > To view this discussion visit
> > > https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d267cb0abn%40googlegroups.com
> >
> > > .
> >
> > --
> > Best regards,
> > Uladzimir.
> >
> >
> >
--
Siemens AG, Technology
Linux Expert Center
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/671e7ea932648d1aae04cd4a3e7417bba07bf2f3.camel%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-18 10:09 ` 'MOESSBAUER, Felix' via isar-users
@ 2024-12-18 19:12 ` Cedric Hombourger
2024-12-19 12:00 ` 'MOESSBAUER, Felix' via isar-users
0 siblings, 1 reply; 8+ messages in thread
From: Cedric Hombourger @ 2024-12-18 19:12 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 3443 bytes --]
Le mercredi 18 décembre 2024 à 11:09:35 UTC+1, MOESSBAUER, Felix a écrit :
On Tue, 2024-12-17 at 12:50 -0800, Cedric Hombourger wrote:
>
>
> Le jeudi 5 décembre 2024 à 15:55:35 UTC+1, Uladzimir Bely a écrit :
> > On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
> > > I keep getting this error:
> > >
> > > | ERROR: A native program mksquashfs required to build the image
> > > was
> > > not found (see details above).
> > > |
> > > | Please make sure wic-tools have squashfs-tools-native in its
> > > DEPENDS, build it with 'bitbake wic-tools' and try again.
> > > |
> > >
> > > I have tried adding squashfs-tools-native to WKS_FILE_DEPENDS,
> > > but I
> > > get the same error. any thoughts?
> >
> > Hello.
> >
> > Try using IMAGER_INSTALL:wic += "squashfs-tools"
>
>
> I have recently run into this (and did this in my layer)
>
> IMO the wic imager should pre-install packages for everything file-
> systems it supports / usable in .wks files. I was going to submit a
> patch along these lines so that I could get rid of this directive in
> my downstream layer. Should I? This would improve usability / user-
> experience if you ask me.
Hmm... I tend to disagree. Installing these tools takes time and
increases the attack surface of the build itself. By that we basically
penalize all users just because it makes things a bit easier for some.
attack surface? isn't the sbuild environment of the imager ephemeral?
moreover, users are encouraged 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 least)?
I believe we are reaching out to developers with varying levels of
knowledge and that's ok because some just want to focus on their
application development duties and do not care about the 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 lowering the
barrier of entry
of course one approach could be to add some pre-processing task where we
parse the wks file upfront 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.
anyhow, that's my view of the matter.
Best regards,
Felix
>
> Thanks
> Cedric
>
> >
> > > --
> > > 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 email to isar-users+...@googlegroups.com.
> > > To view this discussion visit
> > >
https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d267cb0abn%40googlegroups.com
> >
> > > .
> >
> > --
> > Best regards,
> > Uladzimir.
> >
> >
> >
--
Siemens AG, Technology
Linux Expert Center
--
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 email 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.
[-- Attachment #1.2: Type: text/html, Size: 5084 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-18 19:12 ` Cedric Hombourger
@ 2024-12-19 12:00 ` 'MOESSBAUER, Felix' via isar-users
2024-12-19 14:13 ` Roberto A. Foglietta
2024-12-19 14:38 ` 'Jan Kiszka' via isar-users
0 siblings, 2 replies; 8+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2024-12-19 12:00 UTC (permalink / raw)
To: chombourger, isar-users
On Wed, 2024-12-18 at 11:12 -0800, Cedric Hombourger wrote:
>
>
> Le mercredi 18 décembre 2024 à 11:09:35 UTC+1, MOESSBAUER, Felix a
> écrit :
> > On Tue, 2024-12-17 at 12:50 -0800, Cedric Hombourger wrote:
> > >
> > >
> > > Le jeudi 5 décembre 2024 à 15:55:35 UTC+1, Uladzimir Bely a
> > > écrit :
> > > > On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
> > > > > I keep getting this error:
> > > > >
> > > > > | ERROR: A native program mksquashfs required to build the
> > > > > image
> > > > > was
> > > > > not found (see details above).
> > > > > |
> > > > > | Please make sure wic-tools have squashfs-tools-native in
> > > > > its
> > > > > DEPENDS, build it with 'bitbake wic-tools' and try again.
> > > > > |
> > > > >
> > > > > I have tried adding squashfs-tools-native to
> > > > > WKS_FILE_DEPENDS,
> > > > > but I
> > > > > get the same error. any thoughts?
> > > >
> > > > Hello.
> > > >
> > > > Try using IMAGER_INSTALL:wic += "squashfs-tools"
> > >
> > >
> > > I have recently run into this (and did this in my layer)
> > >
> > > IMO the wic imager should pre-install packages for everything
> > > file-
> > > systems it supports / usable in .wks files. I was going to submit
> > > a
> > > patch along these lines so that I could get rid of this directive
> > > in
> > > my downstream layer. Should I? This would improve usability /
> > > user-
> > > experience if you ask me.
> >
> > Hmm... I tend to disagree. Installing these tools takes time and
> > increases the attack surface of the build itself. By that we
> > basically
> > penalize all users just because it makes things a bit easier for
> > some.
>
>
> attack surface? isn't the sbuild environment of the imager ephemeral?
> moreover, users are encouraged to build within a (kas-)container,
> this adds another line of defense
Yes, my concern is probably more of a theoretical nature. More packages
always increases the risk, but here it probably can be neglected.
>
> as for build-times, we can quantify but I believe it is negligible.
> little gains but increased pains (for some at least)?
If we can come up with a not too long list of packages that are
convenient for imaging, this trade off also might be fine.
>
> I believe we are reaching out to developers with varying levels of
> knowledge and that's ok because some just want to focus on their
> application development duties and do not care about the 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
> lowering the barrier of entry
Agree.
>
> of course one approach could be to add some pre-processing task where
> we parse the wks file upfront 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.
If the cost of including the packages is high, we likely need this. If
not, it is just over engineering.
Best regards,
Felix
>
> anyhow, that's my view of the matter.
>
> >
> > Best regards,
> > Felix
> >
> > >
> > > Thanks
> > > Cedric
> > >
> > > >
> > > > > --
> > > > > 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 email to isar-users+...@googlegroups.com.
> > > > > To view this discussion visit
> > > > > https://groups.google.com/d/msgid/isar-users/2839131c-156b-4007-b424-854d267cb0abn%40googlegroups.com
> >
> > > >
> > > > > .
> > > >
> > > > --
> > > > Best regards,
> > > > Uladzimir.
> > > >
> > > >
> > > >
> >
> > --
> > Siemens AG, Technology
> > Linux Expert Center
> >
> >
--
Siemens AG, Technology
Linux Expert Center
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/798570e4ab92729bbde6b109daff8109d2922e8a.camel%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-19 12:00 ` 'MOESSBAUER, Felix' via isar-users
@ 2024-12-19 14:13 ` Roberto A. Foglietta
2024-12-19 14:38 ` 'Jan Kiszka' via isar-users
1 sibling, 0 replies; 8+ messages in thread
From: Roberto A. Foglietta @ 2024-12-19 14:13 UTC (permalink / raw)
To: MOESSBAUER, Felix; +Cc: chombourger, isar-users
On Thu, 19 Dec 2024 at 13:01, 'MOESSBAUER, Felix' via isar-users
<isar-users@googlegroups.com> wrote:
>
> On Wed, 2024-12-18 at 11:12 -0800, Cedric Hombourger wrote:
> >
> >
> > of course one approach could be to add some pre-processing task where
> > we parse the wks file upfront 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.
>
> If the cost of including the packages is high, we likely need this. If
> not, it is just over engineering.
>
Dude, **over engineering**... seriously?
Making your {customers, comrades, girlfriend} happy in letting them
live a smooth life without begging for your support can be considered
"over engineering" or a form of?
Think about it, all the time you need. Twice before answering, seriously.
Best regards,
--
Roberto A. Foglietta
+49.176.274.75.661
+39.349.33.30.697
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/CAJGKYO4-83wuHVokWw6eDwmmoB2rDMc_ghJz3TYHs2ym_5P1AQ%40mail.gmail.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: wic missing squashfs
2024-12-19 12:00 ` 'MOESSBAUER, Felix' via isar-users
2024-12-19 14:13 ` Roberto A. Foglietta
@ 2024-12-19 14:38 ` 'Jan Kiszka' via isar-users
1 sibling, 0 replies; 8+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-12-19 14:38 UTC (permalink / raw)
To: MOESSBAUER, Felix, chombourger, isar-users
On 19.12.24 13:00, 'MOESSBAUER, Felix' via isar-users wrote:
> On Wed, 2024-12-18 at 11:12 -0800, Cedric Hombourger wrote:
>>
>>
>> Le mercredi 18 décembre 2024 à 11:09:35 UTC+1, MOESSBAUER, Felix a
>> écrit :
>>> On Tue, 2024-12-17 at 12:50 -0800, Cedric Hombourger wrote:
>>>>
>>>>
>>>> Le jeudi 5 décembre 2024 à 15:55:35 UTC+1, Uladzimir Bely a
>>>> écrit :
>>>>> On Thu, 2024-12-05 at 06:47 -0800, Stephen Ecker wrote:
>>>>>> I keep getting this error:
>>>>>>
>>>>>> | ERROR: A native program mksquashfs required to build the
>>>>>> image
>>>>>> was
>>>>>> not found (see details above).
>>>>>> |
>>>>>> | Please make sure wic-tools have squashfs-tools-native in
>>>>>> its
>>>>>> DEPENDS, build it with 'bitbake wic-tools' and try again.
>>>>>> |
>>>>>>
>>>>>> I have tried adding squashfs-tools-native to
>>>>>> WKS_FILE_DEPENDS,
>>>>>> but I
>>>>>> get the same error. any thoughts?
>>>>>
>>>>> Hello.
>>>>>
>>>>> Try using IMAGER_INSTALL:wic += "squashfs-tools"
>>>>
>>>>
>>>> I have recently run into this (and did this in my layer)
>>>>
>>>> IMO the wic imager should pre-install packages for everything
>>>> file-
>>>> systems it supports / usable in .wks files. I was going to submit
>>>> a
>>>> patch along these lines so that I could get rid of this directive
>>>> in
>>>> my downstream layer. Should I? This would improve usability /
>>>> user-
>>>> experience if you ask me.
>>>
>>> Hmm... I tend to disagree. Installing these tools takes time and
>>> increases the attack surface of the build itself. By that we
>>> basically
>>> penalize all users just because it makes things a bit easier for
>>> some.
>>
>>
>> attack surface? isn't the sbuild environment of the imager ephemeral?
>> moreover, users are encouraged to build within a (kas-)container,
>> this adds another line of defense
>
> Yes, my concern is probably more of a theoretical nature. More packages
> always increases the risk, but here it probably can be neglected.
>
>>
>> as for build-times, we can quantify but I believe it is negligible.
>> little gains but increased pains (for some at least)?
>
> If we can come up with a not too long list of packages that are
> convenient for imaging, this trade off also might be fine.
>
>>
>> I believe we are reaching out to developers with varying levels of
>> knowledge and that's ok because some just want to focus on their
>> application development duties and do not care about the 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
>> lowering the barrier of entry
>
> Agree.
>
>>
>> of course one approach could be to add some pre-processing task where
>> we parse the wks file upfront 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.
>
> If the cost of including the packages is high, we likely need this. If
> not, it is just over engineering.
>
I would recommend aligning with OE/yocto here, and it appears to me like
they demand quite a few tools by default:
https://github.com/openembedded/openembedded-core/blob/f642edb006a8c16dbe45681afe547eabfae17073/meta/classes-recipe/image_types_wic.bbclass#L112
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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 email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/e1f96419-fac8-4b21-bf7b-420f28a1ffb8%40siemens.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-12-19 14:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <AQHbRyTqrCt+jfW9CEqVGNtHexJeRrLXvSmAgBM/NgCAAN8wgA==>
2024-12-05 14:47 ` wic missing squashfs Stephen Ecker
2024-12-05 14:55 ` Uladzimir Bely
2024-12-17 20:50 ` Cedric Hombourger
2024-12-18 10:09 ` 'MOESSBAUER, Felix' via isar-users
2024-12-18 19:12 ` Cedric Hombourger
2024-12-19 12:00 ` 'MOESSBAUER, Felix' via isar-users
2024-12-19 14:13 ` Roberto A. Foglietta
2024-12-19 14:38 ` 'Jan Kiszka' via isar-users
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox