All of lore.kernel.org
 help / color / mirror / Atom feed
* Preventing a package from building
@ 2017-06-13 18:32 Jimi Damon
  2017-06-13 19:32 ` Leonardo Sandoval
  0 siblings, 1 reply; 6+ messages in thread
From: Jimi Damon @ 2017-06-13 18:32 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

Hi,


I tried using the PACKAGE_EXCLUDE = "chromium" in my local.conf file but 
I'm finding that my build it is still trying to build this package.


Is there a way to prevent this build stage from occurring ?


Thanks



[-- Attachment #2: Type: text/html, Size: 745 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preventing a package from building
  2017-06-13 19:32 ` Leonardo Sandoval
@ 2017-06-13 19:26   ` Jimi Damon
       [not found]     ` <1497383744.23013.10.camel@linux.intel.com>
  2017-06-13 21:56     ` Burton, Ross
  0 siblings, 2 replies; 6+ messages in thread
From: Jimi Damon @ 2017-06-13 19:26 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]


This package is being built on the host side during a bitbake using a 
Boundary Devices Yocto build (

* MACHINE=nitrogen6x DISTRO=fslc-x11 . setup-environment build *

+

* bitbake boundary-eval-image-xfce *

) .

I was looking for an easy way to disable even building this into the 
image since the compilation takes quite a long time for Chromium.



On 06/13/2017 12:32 PM, Leonardo Sandoval wrote:
> On Tue, 2017-06-13 at 11:32 -0700, Jimi Damon wrote:
>> Hi,
>>
>>
>> I tried using the PACKAGE_EXCLUDE = "chromium" in my local.conf file
>> but I'm finding that my build it is still trying to build this
>> package.
>>
> is it on your image? at the end, this variable is to exclude the package
> on the resulting image/rootfs.
>
>> Is there a way to prevent this build stage from occurring ?
>>
>>
>>
>> Thanks
>>
>>
>> -- 
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>


[-- Attachment #2: Type: text/html, Size: 2160 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preventing a package from building
  2017-06-13 18:32 Preventing a package from building Jimi Damon
@ 2017-06-13 19:32 ` Leonardo Sandoval
  2017-06-13 19:26   ` Jimi Damon
  0 siblings, 1 reply; 6+ messages in thread
From: Leonardo Sandoval @ 2017-06-13 19:32 UTC (permalink / raw)
  To: Jimi Damon; +Cc: yocto

On Tue, 2017-06-13 at 11:32 -0700, Jimi Damon wrote:
> Hi,
> 
> 
> I tried using the PACKAGE_EXCLUDE = "chromium" in my local.conf file
> but I'm finding that my build it is still trying to build this
> package.
> 
is it on your image? at the end, this variable is to exclude the package
on the resulting image/rootfs.

> 
> Is there a way to prevent this build stage from occurring ? 
> 
> 
> 
> Thanks
> 
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preventing a package from building
       [not found]     ` <1497383744.23013.10.camel@linux.intel.com>
@ 2017-06-13 21:25       ` Jimi Damon
  0 siblings, 0 replies; 6+ messages in thread
From: Jimi Damon @ 2017-06-13 21:25 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

Is there a way to apply this ( or something like it ) inside the current 
bblayers.conf file ?

I've already built most of this image and I don't want to accidentally 
lose all of that work by changing a global configuration file nor do I 
wish to change the global recicpe itself if that's possible.


Thanks


On 06/13/2017 12:55 PM, Leonardo Sandoval wrote:
> On Tue, 2017-06-13 at 12:26 -0700, Jimi Damon wrote:
>> This package is being built on the host side during a bitbake using a
>> Boundary Devices Yocto build (
>>
>>
>>   MACHINE=nitrogen6x DISTRO=fslc-x11 . setup-environment build
>>
>>
>> +
>>
>>
>>   bitbake boundary-eval-image-xfce
>>
> try
>
> a bit hacky but you can also use the COMPATIBLE_HOST = "null" variable
> inside the chromium recipe,
> not really sure that works (never tried)
>
> leo
>
>> ) .
>>
>>
>> I was looking for an easy way to disable even building this into the
>> image since the compilation takes quite a long time for Chromium.
>>
>>
>>
>> On 06/13/2017 12:32 PM, Leonardo Sandoval wrote:
>>
>>> On Tue, 2017-06-13 at 11:32 -0700, Jimi Damon wrote:
>>>> Hi,
>>>>
>>>>
>>>> I tried using the PACKAGE_EXCLUDE = "chromium" in my local.conf file
>>>> but I'm finding that my build it is still trying to build this
>>>> package.
>>>>
>>> is it on your image? at the end, this variable is to exclude the package
>>> on the resulting image/rootfs.
>>>
>>>> Is there a way to prevent this build stage from occurring ?
>>>>
>>>>
>>>>
>>>> Thanks
>>>>
>>>>


[-- Attachment #2: Type: text/html, Size: 2686 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preventing a package from building
  2017-06-13 19:26   ` Jimi Damon
       [not found]     ` <1497383744.23013.10.camel@linux.intel.com>
@ 2017-06-13 21:56     ` Burton, Ross
  2017-06-13 22:01       ` Jimi Damon
  1 sibling, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2017-06-13 21:56 UTC (permalink / raw)
  To: Jimi Damon; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On 13 June 2017 at 20:26, Jimi Damon <jdamon@gmail.com> wrote:

> This package is being built on the host side during a bitbake using a
> Boundary Devices Yocto build (
>
> * MACHINE=nitrogen6x DISTRO=fslc-x11 . setup-environment build *
>
> +
>
> * bitbake boundary-eval-image-xfce    *
>
>
The canonical solution here is to write your own image recipe that doesn't
include chromium.  Copy the evaluation image, and edit it as required.

Ross

[-- Attachment #2: Type: text/html, Size: 1032 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Preventing a package from building
  2017-06-13 21:56     ` Burton, Ross
@ 2017-06-13 22:01       ` Jimi Damon
  0 siblings, 0 replies; 6+ messages in thread
From: Jimi Damon @ 2017-06-13 22:01 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

Yes that's very good in the theoretical, but I was looking for actual 
commands to get this done.


Solution was from Leo Sandoval,


> COMPATIBLE_HOST = "null"

inside of the chromium_52.0.2743.76.bbappend





On 06/13/2017 02:56 PM, Burton, Ross wrote:
>
> The canonical solution here is to write your own image recipe that 
> doesn't include chromium.  Copy the evaluation image, and edit it as 
> required.
>
> Ross


[-- Attachment #2: Type: text/html, Size: 1465 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-13 22:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 18:32 Preventing a package from building Jimi Damon
2017-06-13 19:32 ` Leonardo Sandoval
2017-06-13 19:26   ` Jimi Damon
     [not found]     ` <1497383744.23013.10.camel@linux.intel.com>
2017-06-13 21:25       ` Jimi Damon
2017-06-13 21:56     ` Burton, Ross
2017-06-13 22:01       ` Jimi Damon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.