Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-31 Thread Richard Purdie
On Fri, 2018-07-27 at 12:05 +0100, Burton, Ross wrote: > On 27 July 2018 at 00:58, Andre McCurdy wrote: > > On Thu, Jul 26, 2018 at 4:34 PM, Burton, Ross > m> wrote: > > > On 26 July 2018 at 14:58, Ioan-Adrian Ratiu > > > wrote: > > > > Because the util-linux_2.32.bb recipe explicitely disables

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-27 Thread Burton, Ross
On 27 July 2018 at 00:58, Andre McCurdy wrote: > On Thu, Jul 26, 2018 at 4:34 PM, Burton, Ross wrote: >> On 26 July 2018 at 14:58, Ioan-Adrian Ratiu wrote: >>> Because the util-linux_2.32.bb recipe explicitely disables fallocate >>> for nativesdk triggering build warnings: >> >> Does anyone

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Andre McCurdy
On Thu, Jul 26, 2018 at 4:34 PM, Burton, Ross wrote: > On 26 July 2018 at 14:58, Ioan-Adrian Ratiu wrote: >> Because the util-linux_2.32.bb recipe explicitely disables fallocate >> for nativesdk triggering build warnings: > > Does anyone know why util-linux disables fallocate for nativesdk and >

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Burton, Ross
On 26 July 2018 at 14:58, Ioan-Adrian Ratiu wrote: > Because the util-linux_2.32.bb recipe explicitely disables fallocate > for nativesdk triggering build warnings: Does anyone know why util-linux disables fallocate for nativesdk and native builds? Ross --

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Andre McCurdy
On Thu, Jul 26, 2018 at 10:06 AM, Ioan-Adrian Ratiu wrote: > Thank you Martin! The different behaviours between combinations of > appends and overrides has always been confusing to me. You're not alone. The behaviour of += with an over-ride is a trap which catches most users at some point. > On

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Ioan-Adrian Ratiu
Thank you Martin! The different behaviours between combinations of appends and overrides has always been confusing to me. On Thu, 26 Jul 2018, Martin Jansa wrote: > I went ahead and sent v2 with the fix as I had it locally already anyway. > > To illustrate what was wrong with using the override,

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Martin Jansa
I went ahead and sent v2 with the fix as I had it locally already anyway. To illustrate what was wrong with using the override, see following output from bitbake -e: env.util-linux.append+override:ALTERNATIVE_util-linux="dmesg kill more mkswap blockdev pivot_root switch_root hexdump last lastb

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Martin Jansa
This probably doesn't do what you're expecting it to do, use ALTERNATIVE_${PN}_append_class-target = " fallocate" You can check with bitbake -e to see what's the difference between these 2. On Thu, Jul 26, 2018 at 3:56 PM Ioan-Adrian Ratiu wrote: > Because the util-linux_2.32.bb recipe

[OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Ioan-Adrian Ratiu
Because the util-linux_2.32.bb recipe explicitely disables fallocate for nativesdk triggering build warnings: WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: alternative target (sdk/usr/bin/fallocate or sdk/usr/bin/fallocate.util-linux) does not exist, skipping... WARNING: