| 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?
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"
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.