From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by mail.openembedded.org (Postfix) with SMTP id 1197A61116 for ; Thu, 17 Apr 2014 11:27:17 +0000 (UTC) Received: from SESTOEX09.enea.se ([fe80::cc12:dcdc:d521:97f8]) by SESTOEX03.enea.se ([fe80::6ce7:7b51:1edf:e245%17]) with mapi id 14.03.0158.001; Thu, 17 Apr 2014 13:27:16 +0200 From: Gabriel Barbu To: "openembedded-core@lists.openembedded.org" Thread-Topic: How to add a distro feature from an image recipe? Thread-Index: Ac9aHAdblQvetveFStmc0CVMNWhLzQ== Date: Thu, 17 Apr 2014 11:27:16 +0000 Message-ID: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.14.77] MIME-Version: 1.0 Subject: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 11:27:22 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_69319FFFA2D4F748B9BB5083FA28E56F25B9AD1Asestoex09enease_" --_000_69319FFFA2D4F748B9BB5083FA28E56F25B9AD1Asestoex09enease_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Is there a specific mechanism to add a distro feature from an image recipe? DISTRO_FEATURES_append does not seem to work from an image-*.bb or from a p= ackagegroup-*.bb. Or, if not, what would be the best way to achieve this? The need is that I have a number of images and only want to add a certain d= istro feature (ptest) to just one or two of them (some test images). Thanks, Gabriel --_000_69319FFFA2D4F748B9BB5083FA28E56F25B9AD1Asestoex09enease_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Is there a specific mechanism to add a distro featur= e from an image recipe?

DISTRO_FEATURES_append does not seem to work from an= image-*.bb or from a packagegroup-*.bb.

 

Or, if not, what would be the best way to achieve th= is?

The need is that I have a number of images and only = want to add a certain distro feature (ptest) to just one or two of them (so= me test images).

 

Thanks,

 

Gabriel

 

--_000_69319FFFA2D4F748B9BB5083FA28E56F25B9AD1Asestoex09enease_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by mail.openembedded.org (Postfix) with SMTP id AF044609C1 for ; Thu, 17 Apr 2014 11:35:54 +0000 (UTC) Received: from iapetus.enea.se (172.16.141.118) by smtp.enea.com (172.21.1.209) with Microsoft SMTP Server id 14.3.158.1; Thu, 17 Apr 2014 13:35:54 +0200 Date: Thu, 17 Apr 2014 13:35:54 +0200 From: Josep Puigdemont To: Gabriel Barbu Message-ID: <20140417113554.GE1852@iapetus.enea.se> References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> MIME-Version: 1.0 In-Reply-To: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> User-Agent: Mutt/1.5.21 (2010-09-15) Received-SPF: None (SESTOEX03.enea.se: josep.puigdemont@enea.com does not designate permitted sender hosts) Cc: "openembedded-core@lists.openembedded.org" Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 11:35:57 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Thu, Apr 17, 2014 at 11:27:16AM +0000, Gabriel Barbu wrote: > Hi, > > > > Is there a specific mechanism to add a distro feature from an image recipe? > > DISTRO_FEATURES_append does not seem to work from an image-*.bb or from a > packagegroup-*.bb. > > > Or, if not, what would be the best way to achieve this? > > The need is that I have a number of images and only want to add a certain > distro feature (ptest) to just one or two of them (some test images). Couldn't that be achieved by just adding "ptest-pkgs" to IMAGE_FEATURES in the image recipe? or "ptest-pkgs" to EXTRA_IMAGE_FEATURES in your local.conf? /Josep > > > > Thanks, > > > > Gabriel > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by mail.openembedded.org (Postfix) with SMTP id 5E6EE65E4B for ; Thu, 17 Apr 2014 12:38:02 +0000 (UTC) Received: from [192.168.14.77] (192.168.14.77) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.158.1; Thu, 17 Apr 2014 14:38:01 +0200 Message-ID: <534FCB1D.2050000@enea.com> Date: Thu, 17 Apr 2014 15:37:49 +0300 From: Gabriel Barbu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Josep Puigdemont References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> <20140417113554.GE1852@iapetus.enea.se> In-Reply-To: <20140417113554.GE1852@iapetus.enea.se> X-Originating-IP: [192.168.14.77] Cc: "openembedded-core@lists.openembedded.org" Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 12:38:06 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 4/17/2014 2:35 PM, Josep Puigdemont wrote: > On Thu, Apr 17, 2014 at 11:27:16AM +0000, Gabriel Barbu wrote: >> Hi, >> >> >> >> Is there a specific mechanism to add a distro feature from an image recipe? >> >> DISTRO_FEATURES_append does not seem to work from an image-*.bb or from a >> packagegroup-*.bb. >> >> >> Or, if not, what would be the best way to achieve this? >> >> The need is that I have a number of images and only want to add a certain >> distro feature (ptest) to just one or two of them (some test images). > > Couldn't that be achieved by just adding "ptest-pkgs" to IMAGE_FEATURES in the > image recipe? or "ptest-pkgs" to EXTRA_IMAGE_FEATURES in your local.conf? > > /Josep > >> >> >> >> Thanks, >> >> >> >> Gabriel >> >> >> > No, unfortunately not; ptest-pkgs are not sufficient for control of this feature. If you have ptest in DISTRO_FEATURES, the ptests are still being built for your image. It would be possible to disable the feature from local.conf though, but I would have liked to avoid particularizing this file per image. Thanks, Gabriel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mail.openembedded.org (Postfix) with ESMTP id 8DE6E65D25 for ; Thu, 17 Apr 2014 13:42:53 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 17 Apr 2014 06:37:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,879,1389772800"; d="scan'208";a="522654822" Received: from mrdissan-mobl.gar.corp.intel.com (HELO peggleto-mobl5.ger.corp.intel.com) ([10.252.120.241]) by orsmga002.jf.intel.com with ESMTP; 17 Apr 2014 06:42:19 -0700 From: Paul Eggleton To: Gabriel Barbu Date: Thu, 17 Apr 2014 14:42:17 +0100 Message-ID: <2261894.lGiJmLJJOo@peggleto-mobl5.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.12.4 (Linux/3.13.9-200.fc20.x86_64; KDE/4.12.4; x86_64; ; ) In-Reply-To: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> MIME-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 13:42:53 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Gabriel, On Thursday 17 April 2014 11:27:16 Gabriel Barbu wrote: > Is there a specific mechanism to add a distro feature from an image recipe? > DISTRO_FEATURES_append does not seem to work from an image-*.bb or from a > packagegroup-*.bb. You can't do this I'm afraid. DISTRO_FEATURES influences how components are built, and aside from via dependencies and placing files in the sysroot, one recipe cannot influence how another is built. If you think about how the system produces package feeds and how these would be expected to be able to be installed from a running target system, if it were possible to set these kinds of options from the image you would have situations where you would build one image and then build another and packages would change, possibly in ways that would not be compatible with the first image - so that wouldn't be practical. > Or, if not, what would be the best way to achieve this? > The need is that I have a number of images and only want to add a certain > distro feature (ptest) to just one or two of them (some test images). You can have ptest enabled in the distro but ptest packages installed only in certain images. That is the only way this kind of thing can work. If enabling the ptest in DISTRO_FEATURES is causing changes in an image where ptest is not installed, that should be considered a bug. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (unknown [192.36.1.252]) by mail.openembedded.org (Postfix) with SMTP id 33BDB65D0C for ; Thu, 17 Apr 2014 14:24:28 +0000 (UTC) Received: from [192.168.14.77] (192.168.14.77) by smtp.enea.com (172.21.1.209) with Microsoft SMTP Server id 14.3.158.1; Thu, 17 Apr 2014 16:24:23 +0200 Message-ID: <534FE411.9080208@enea.com> Date: Thu, 17 Apr 2014 17:24:17 +0300 From: Gabriel Barbu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Paul Eggleton References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> <2261894.lGiJmLJJOo@peggleto-mobl5.ger.corp.intel.com> In-Reply-To: <2261894.lGiJmLJJOo@peggleto-mobl5.ger.corp.intel.com> X-Originating-IP: [192.168.14.77] Cc: openembedded-core@lists.openembedded.org Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 14:24:30 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: quoted-printable On 4/17/2014 4:42 PM, Paul Eggleton wrote: > Hi Gabriel, > > On Thursday 17 April 2014 11:27:16 Gabriel Barbu wrote: >> Is there a specific mechanism to add a distro feature from an image reci= pe? >> DISTRO_FEATURES_append does not seem to work from an image-*.bb or from = a >> packagegroup-*.bb. > > You can't do this I'm afraid. DISTRO_FEATURES influences how components a= re > built, and aside from via dependencies and placing files in the sysroot, = one > recipe cannot influence how another is built. If you think about how the = system > produces package feeds and how these would be expected to be able to be > installed from a running target system, if it were possible to set these = kinds > of options from the image you would have situations where you would build= one > image and then build another and packages would change, possibly in ways = that > would not be compatible with the first image - so that wouldn't be practi= cal. > >> Or, if not, what would be the best way to achieve this? >> The need is that I have a number of images and only want to add a certai= n >> distro feature (ptest) to just one or two of them (some test images). > > You can have ptest enabled in the distro but ptest packages installed onl= y in > certain images. That is the only way this kind of thing can work. If enab= ling > the ptest in DISTRO_FEATURES is causing changes in an image where ptest i= s not > installed, that should be considered a bug. > > Cheers, > Paul > Hi Paul, Yes, I was afraid it=92s this way :) Alright, I can settle for just not having them installed. But what I=92m witnessing now is that having: "ptest" in my DISTRO_FEATURES, and no "ptest-pkgs" in IMAGE_FEATURES results in the image having ptests installed. And thanks to your explanation, I understand better I=92m likely looking=20 at a bug. I will investigate closer. Thanks, Gabriel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mail.openembedded.org (Postfix) with ESMTP id A4DF265D0C for ; Thu, 17 Apr 2014 14:28:28 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 17 Apr 2014 07:28:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,879,1389772800"; d="scan'208";a="522274112" Received: from mrdissan-mobl.gar.corp.intel.com (HELO peggleto-mobl5.ger.corp.intel.com) ([10.252.120.241]) by fmsmga002.fm.intel.com with ESMTP; 17 Apr 2014 07:28:28 -0700 From: Paul Eggleton To: Gabriel Barbu Date: Thu, 17 Apr 2014 15:28:27 +0100 Message-ID: <2112042.009cqD1bE3@peggleto-mobl5.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.12.4 (Linux/3.13.9-200.fc20.x86_64; KDE/4.12.4; x86_64; ; ) In-Reply-To: <534FE411.9080208@enea.com> References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> <2261894.lGiJmLJJOo@peggleto-mobl5.ger.corp.intel.com> <534FE411.9080208@enea.com> MIME-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 14:28:28 -0000 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Thursday 17 April 2014 17:24:17 Gabriel Barbu wrote: > On 4/17/2014 4:42 PM, Paul Eggleton wrote: > > On Thursday 17 April 2014 11:27:16 Gabriel Barbu wrote: > >> Or, if not, what would be the best way to achieve this? > >> The need is that I have a number of images and only want to add a = certain > >> distro feature (ptest) to just one or two of them (some test image= s). > >=20 > > You can have ptest enabled in the distro but ptest packages install= ed only > > in certain images. That is the only way this kind of thing can work= . If > > enabling the ptest in DISTRO_FEATURES is causing changes in an imag= e > > where ptest is not installed, that should be considered a bug. >=20 > Yes, I was afraid it=E2=80=99s this way :) > Alright, I can settle for just not having them installed. >=20 > But what I=E2=80=99m witnessing now is that having: > "ptest" in my DISTRO_FEATURES, and > no "ptest-pkgs" in IMAGE_FEATURES > results in the image having ptests installed. Is that bug 5702, or something else? https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D5702 =20 Cheers, Paul --=20 Paul Eggleton Intel Open Source Technology Centre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by mail.openembedded.org (Postfix) with SMTP id D3C3865D5A for ; Thu, 17 Apr 2014 14:48:54 +0000 (UTC) Received: from [192.168.14.77] (192.168.14.77) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.158.1; Thu, 17 Apr 2014 16:48:48 +0200 Message-ID: <534FE9D0.3090500@enea.com> Date: Thu, 17 Apr 2014 17:48:48 +0300 From: Gabriel Barbu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Paul Eggleton References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> <2261894.lGiJmLJJOo@peggleto-mobl5.ger.corp.intel.com> <534FE411.9080208@enea.com> <2112042.009cqD1bE3@peggleto-mobl5.ger.corp.intel.com> In-Reply-To: <2112042.009cqD1bE3@peggleto-mobl5.ger.corp.intel.com> X-Originating-IP: [192.168.14.77] Cc: openembedded-core@lists.openembedded.org Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 14:48:56 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable On 4/17/2014 5:28 PM, Paul Eggleton wrote: > On Thursday 17 April 2014 17:24:17 Gabriel Barbu wrote: >> On 4/17/2014 4:42 PM, Paul Eggleton wrote: >>> On Thursday 17 April 2014 11:27:16 Gabriel Barbu wrote: >>>> Or, if not, what would be the best way to achieve this? >>>> The need is that I have a number of images and only want to add a cert= ain >>>> distro feature (ptest) to just one or two of them (some test images). >>> >>> You can have ptest enabled in the distro but ptest packages installed o= nly >>> in certain images. That is the only way this kind of thing can work. If >>> enabling the ptest in DISTRO_FEATURES is causing changes in an image >>> where ptest is not installed, that should be considered a bug. >> >> Yes, I was afraid it=E2=80=99s this way :) >> Alright, I can settle for just not having them installed. >> >> But what I=E2=80=99m witnessing now is that having: >> "ptest" in my DISTRO_FEATURES, and >> no "ptest-pkgs" in IMAGE_FEATURES >> results in the image having ptests installed. > > Is that bug 5702, or something else? > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D5702 > > Cheers, > Paul > Possibly more. Right now I only see: ./dbus-ptest/ptest ./perl/ptest in a custom image I have, but I will also try with a bigger image to=20 check if I get more. Best regards, Gabriel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.openembedded.org (Postfix) with ESMTP id ED6A565E28 for ; Thu, 17 Apr 2014 14:52:38 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 17 Apr 2014 07:52:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,879,1389772800"; d="scan'208";a="514815750" Received: from mrdissan-mobl.gar.corp.intel.com (HELO peggleto-mobl5.ger.corp.intel.com) ([10.252.120.241]) by fmsmga001.fm.intel.com with ESMTP; 17 Apr 2014 07:52:38 -0700 From: Paul Eggleton To: Gabriel Barbu Date: Thu, 17 Apr 2014 15:52:37 +0100 Message-ID: <1766435.4H2Ncp94dv@peggleto-mobl5.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.12.4 (Linux/3.13.9-200.fc20.x86_64; KDE/4.12.4; x86_64; ; ) In-Reply-To: <534FE9D0.3090500@enea.com> References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> <2112042.009cqD1bE3@peggleto-mobl5.ger.corp.intel.com> <534FE9D0.3090500@enea.com> MIME-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 14:52:39 -0000 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Thursday 17 April 2014 17:48:48 Gabriel Barbu wrote: > On 4/17/2014 5:28 PM, Paul Eggleton wrote: > > On Thursday 17 April 2014 17:24:17 Gabriel Barbu wrote: > >> On 4/17/2014 4:42 PM, Paul Eggleton wrote: > >>> On Thursday 17 April 2014 11:27:16 Gabriel Barbu wrote: > >>>> Or, if not, what would be the best way to achieve this? > >>>> The need is that I have a number of images and only want to add = a > >>>> certain > >>>> distro feature (ptest) to just one or two of them (some test ima= ges). > >>>=20 > >>> You can have ptest enabled in the distro but ptest packages insta= lled > >>> only > >>> in certain images. That is the only way this kind of thing can wo= rk. If > >>> enabling the ptest in DISTRO_FEATURES is causing changes in an im= age > >>> where ptest is not installed, that should be considered a bug. > >>=20 > >> Yes, I was afraid it=E2=80=99s this way :) > >> Alright, I can settle for just not having them installed. > >>=20 > >> But what I=E2=80=99m witnessing now is that having: > >> "ptest" in my DISTRO_FEATURES, and > >> no "ptest-pkgs" in IMAGE_FEATURES > >> results in the image having ptests installed. > >=20 > > Is that bug 5702, or something else? > >=20 > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D5702 > >=20 > > Cheers, > > Paul >=20 > Possibly more. Right now I only see: > ./dbus-ptest/ptest > ./perl/ptest >=20 > in a custom image I have, but I will also try with a bigger image to > check if I get more. So the dbus-ptest one we're aware of (and the fix is on the mailing lis= t) but=20 it would be interesting to know how the perl-ptest one got there. Cheers, Paul --=20 Paul Eggleton Intel Open Source Technology Centre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by mail.openembedded.org (Postfix) with SMTP id 65E4865D57 for ; Thu, 17 Apr 2014 15:21:17 +0000 (UTC) Received: from [192.168.14.77] (192.168.14.77) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.158.1; Thu, 17 Apr 2014 17:21:16 +0200 Message-ID: <534FF16C.50207@enea.com> Date: Thu, 17 Apr 2014 18:21:16 +0300 From: Gabriel Barbu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Paul Eggleton References: <69319FFFA2D4F748B9BB5083FA28E56F25B9AD1A@sestoex09.enea.se> <2112042.009cqD1bE3@peggleto-mobl5.ger.corp.intel.com> <534FE9D0.3090500@enea.com> <1766435.4H2Ncp94dv@peggleto-mobl5.ger.corp.intel.com> In-Reply-To: <1766435.4H2Ncp94dv@peggleto-mobl5.ger.corp.intel.com> X-Originating-IP: [192.168.14.77] Cc: openembedded-core@lists.openembedded.org Subject: Re: How to add a distro feature from an image recipe? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2014 15:21:19 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable On 4/17/2014 5:52 PM, Paul Eggleton wrote: > On Thursday 17 April 2014 17:48:48 Gabriel Barbu wrote: >> On 4/17/2014 5:28 PM, Paul Eggleton wrote: >>> On Thursday 17 April 2014 17:24:17 Gabriel Barbu wrote: >>>> On 4/17/2014 4:42 PM, Paul Eggleton wrote: >>>>> On Thursday 17 April 2014 11:27:16 Gabriel Barbu wrote: >>>>>> Or, if not, what would be the best way to achieve this? >>>>>> The need is that I have a number of images and only want to add a >>>>>> certain >>>>>> distro feature (ptest) to just one or two of them (some test images)= . >>>>> >>>>> You can have ptest enabled in the distro but ptest packages installed >>>>> only >>>>> in certain images. That is the only way this kind of thing can work. = If >>>>> enabling the ptest in DISTRO_FEATURES is causing changes in an image >>>>> where ptest is not installed, that should be considered a bug. >>>> >>>> Yes, I was afraid it=E2=80=99s this way :) >>>> Alright, I can settle for just not having them installed. >>>> >>>> But what I=E2=80=99m witnessing now is that having: >>>> "ptest" in my DISTRO_FEATURES, and >>>> no "ptest-pkgs" in IMAGE_FEATURES >>>> results in the image having ptests installed. >>> >>> Is that bug 5702, or something else? >>> >>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D5702 >>> >>> Cheers, >>> Paul >> >> Possibly more. Right now I only see: >> ./dbus-ptest/ptest >> ./perl/ptest >> >> in a custom image I have, but I will also try with a bigger image to >> check if I get more. > > So the dbus-ptest one we're aware of (and the fix is on the mailing list)= but > it would be interesting to know how the perl-ptest one got there. > > Cheers, > Paul > Right, I will investigate. Best regards, Gabriel