Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-22 Thread Michal Sieron
Michal, what problem are you seeing? So originally I encountered this issue when building sbsigntool. Now I see that I was simply using a modified version of an older recipe revision. If I were to use a somewhat recent one, I would have this change in place

Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-21 Thread Randy MacLeod via lists.openembedded.org
On 2024-02-21 5:08 a.m., Alexander Kanavin via lists.openembedded.org wrote: On Wed, 21 Feb 2024 at 10:48, Ross Burton wrote: You _can_ export TMPDIR but that has to be done on a per-recipe/class basis very carefully as TMPDIR means something else to Bitbake. The problem is recipes that use

Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-21 Thread Alexander Kanavin
On Wed, 21 Feb 2024 at 10:48, Ross Burton wrote: > You _can_ export TMPDIR but that has to be done on a per-recipe/class basis > very carefully as TMPDIR means something else to Bitbake. > > The problem is recipes that use mktemp to write files and execute them (be it > shell scripts, or as a

Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-21 Thread Ross Burton
On 21 Feb 2024, at 07:18, ChenQi wrote: > I just noticed the change. I can't find the V2 in my mailbox, so I'm going to > reply here. > I'm a little concerned about forcing such requirement here. It does not seem > *necessary*. > As far as I know, the whole oe-core does not need /tmp to be

Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-20 Thread Chen Qi via lists.openembedded.org
Hi Michal, I just noticed the change. I can't find the V2 in my mailbox, so I'm going to reply here. I'm a little concerned about forcing such requirement here. It does not seem *necessary*. As far as I know, the whole oe-core does not need /tmp to be exec. The commit message says 'old