* so how does PACKAGECONFIG_remove really work?
@ 2018-11-09 14:18 Aditya Tayade
2018-11-09 14:21 ` Aditya Tayade
0 siblings, 1 reply; 5+ messages in thread
From: Aditya Tayade @ 2018-11-09 14:18 UTC (permalink / raw)
To: Yocto discussion list
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
Hi,
Can any one please help me to understand PACKAGECONFIG_remove feature
Let's take an example of systemd recipe as follows:
PACKAGECONFIG ??= "vconsole"
PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
Now how should we disable features set in PACKAGECONFIG using PACKAGECONFIG_remove from it's bbappend file?
Regards,
Aditya Tayade
This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
[-- Attachment #2: Type: text/html, Size: 1940 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: so how does PACKAGECONFIG_remove really work?
2018-11-09 14:18 so how does PACKAGECONFIG_remove really work? Aditya Tayade
@ 2018-11-09 14:21 ` Aditya Tayade
2018-11-09 14:40 ` Burton, Ross
0 siblings, 1 reply; 5+ messages in thread
From: Aditya Tayade @ 2018-11-09 14:21 UTC (permalink / raw)
To: Yocto discussion list
[-- Attachment #1: Type: text/plain, Size: 1541 bytes --]
Hi,
Can any one please help me to understand PACKAGECONFIG_remove feature
Let's take an example of systemd recipe as follows:
PACKAGECONFIG ??= "vconsole"
PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
Now how should we disable features set in PACKAGECONFIG[vconsole] using PACKAGECONFIG_remove from it's bbappend file?
Regards,
Aditya Tayade
________________________________
From: Aditya Tayade
Sent: Friday, November 9, 2018 7:48:36 PM
To: Yocto discussion list
Subject: [yocto] so how does PACKAGECONFIG_remove really work?
Hi,
Can any one please help me to understand PACKAGECONFIG_remove feature
Let's take an example of systemd recipe as follows:
PACKAGECONFIG ??= "vconsole"
PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
Now how should we disable features set in PACKAGECONFIG using PACKAGECONFIG_remove from it's bbappend file?
Regards,
Aditya Tayade
This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
[-- Attachment #2: Type: text/html, Size: 3945 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: so how does PACKAGECONFIG_remove really work?
2018-11-09 14:21 ` Aditya Tayade
@ 2018-11-09 14:40 ` Burton, Ross
2018-11-09 15:01 ` Uwe Geuder
2018-11-09 15:05 ` Aditya Tayade
0 siblings, 2 replies; 5+ messages in thread
From: Burton, Ross @ 2018-11-09 14:40 UTC (permalink / raw)
To: Aditya Tayade; +Cc: Yocto-mailing-list
On Fri, 9 Nov 2018 at 14:36, Aditya Tayade <Aditya.Tayade@kpit.com> wrote:
> Can any one please help me to understand PACKAGECONFIG_remove feature
>
>
> Let's take an example of systemd recipe as follows:
>
> PACKAGECONFIG ??= "vconsole"
>
> PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
>
>
> Now how should we disable features set in PACKAGECONFIG[vconsole] using PACKAGECONFIG_remove from it's bbappend file?
The _remove override removes a value from a variable. So this will
remove 'vconsole' from the value of PACKAGECONFIG:
PACKAGECONFIG_remove = "vconsole"
Ross
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: so how does PACKAGECONFIG_remove really work?
2018-11-09 14:40 ` Burton, Ross
@ 2018-11-09 15:01 ` Uwe Geuder
2018-11-09 15:05 ` Aditya Tayade
1 sibling, 0 replies; 5+ messages in thread
From: Uwe Geuder @ 2018-11-09 15:01 UTC (permalink / raw)
To: yocto
On Fri, Nov 9, 2018 at 4:41 PM Burton, Ross ross.burton-at-intel.com wrote:
>
> On Fri, 9 Nov 2018 at 14:36, Aditya Tayade <Aditya.Tayade@kpit.com> wrote:
> > Can any one please help me to understand PACKAGECONFIG_remove feature
> >
> >
> > Let's take an example of systemd recipe as follows:
> >
> > PACKAGECONFIG ??= "vconsole"
> >
> > PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
> >
> >
> > Now how should we disable features set in PACKAGECONFIG[vconsole] using PACKAGECONFIG_remove from it's bbappend file?
>
> The _remove override removes a value from a variable. So this will
> remove 'vconsole' from the value of PACKAGECONFIG:
>
> PACKAGECONFIG_remove = "vconsole"
>
I also wondered quite a while in the past why such questions are not covered
by the Mega Manual.
https://www.yoctoproject.org/docs/2.5.1/mega-manual/mega-manual.html
Once I had been told that the mega manual contains "everything". As matter of
fact that is not true. Basic syntax for bitbake (recipes and conf files) is
documented only in a separate Bitbake User Manual.
https://www.yoctoproject.org/docs/2.5.1/bitbake-user-manual/bitbake-user-manual.html#removing-override-style-syntax
Regards,
Uwe Geuder
Neuro Event Labs Oy
Tampere, Finland
uwe.gexder@neuroeventlabs.com (Bot check: fix one obvious typo)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: so how does PACKAGECONFIG_remove really work?
2018-11-09 14:40 ` Burton, Ross
2018-11-09 15:01 ` Uwe Geuder
@ 2018-11-09 15:05 ` Aditya Tayade
1 sibling, 0 replies; 5+ messages in thread
From: Aditya Tayade @ 2018-11-09 15:05 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
Thanks Ross.
Regards,
Aditya Tayade
________________________________
From: Burton, Ross <ross.burton@intel.com>
Sent: Friday, November 9, 2018 8:10:22 PM
To: Aditya Tayade
Cc: Yocto-mailing-list
Subject: Re: [yocto] so how does PACKAGECONFIG_remove really work?
On Fri, 9 Nov 2018 at 14:36, Aditya Tayade <Aditya.Tayade@kpit.com> wrote:
> Can any one please help me to understand PACKAGECONFIG_remove feature
>
>
> Let's take an example of systemd recipe as follows:
>
> PACKAGECONFIG ??= "vconsole"
>
> PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
>
>
> Now how should we disable features set in PACKAGECONFIG[vconsole] using PACKAGECONFIG_remove from it's bbappend file?
The _remove override removes a value from a variable. So this will
remove 'vconsole' from the value of PACKAGECONFIG:
PACKAGECONFIG_remove = "vconsole"
Ross
This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails.
[-- Attachment #2: Type: text/html, Size: 2480 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-11-09 15:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 14:18 so how does PACKAGECONFIG_remove really work? Aditya Tayade
2018-11-09 14:21 ` Aditya Tayade
2018-11-09 14:40 ` Burton, Ross
2018-11-09 15:01 ` Uwe Geuder
2018-11-09 15:05 ` Aditya Tayade
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.