Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-23 Thread Bills, Jason M via lists.yoctoproject.org
> > The issue is fixed if I change this line: > local extra_imagecmd="$@" > to this: > local extra_imagecmd="$*" > I also found that the issue is fixed if I wrap my appended parameters in single quotes. This is my new append: EXTRA_IMAGECMD:squashfs-xz:append = " '-processors 64 -b 262144 -Xdic

Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-17 Thread Bills, Jason M via lists.yoctoproject.org
> what is your defautl shell, is it bash or dash ? I use bash > what happens if you use single quotes around $@ I made this change: diff --git a/poky/meta/classes-recipe/image_types.bbclass b/poky/meta/classes-recipe/image_types.bbclass index 87d6effc6c..2dfe1cd51a 100644 --- a/poky/meta/classe

Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-17 Thread Ross Burton via lists.yoctoproject.org
On 17 Jan 2025, at 07:20, Heinz Wrobel via lists.yoctoproject.org wrote: > > This is the append I use: > EXTRA_IMAGECMD:squashfs-xz:append = "-processors 64 -b 262144 -Xdict-size > 100% -Xbcj arm" > Shouldn’t there be a leading space, given that you use “append”? Yes, unless that isn’t

Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-17 Thread Jörg Sommer via lists . yoctoproject . org
Khem Raj via lists.yoctoproject.org schrieb am Do 16. Jan, 17:45 (-0800): > On Thu, Jan 16, 2025 at 11:38 AM Bills, Jason M via > lists.yoctoproject.org > wrote: > > > > Hello, > > > > I recently pulled down this change that fixes an issue with EXTRA_IMAGECMD > > support for squashfs-xz: > > htt

Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-16 Thread Heinz Wrobel via lists.yoctoproject.org
This is the append I use: EXTRA_IMAGECMD:squashfs-xz:append = "-processors 64 -b 262144 -Xdict-size 100% -Xbcj arm" Shouldn’t there be a leading space, given that you use “append”? BR, Heinz -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#

Re: [yocto] Script error when using EXTRA_IMAGECMD::append

2025-01-16 Thread Khem Raj via lists.yoctoproject.org
On Thu, Jan 16, 2025 at 11:38 AM Bills, Jason M via lists.yoctoproject.org wrote: > > Hello, > > I recently pulled down this change that fixes an issue with EXTRA_IMAGECMD > support for squashfs-xz: > https://github.com/yoctoproject/poky/commit/70a857b8f3fd3e9b95b903e8313d0014a6ff8c96. > Lookin