COMPLEMENTARY_GLOB[lic-pkgs] = '*-lic' IMAGE_FEATURES += "lic-pkgs"
This is how the dbg-pkgs, dev-pkgs, doc-pkgs, src-pkgs, ptest-pkgs, staticdev-pkgs are done. On Thu, Jul 9, 2020 at 3:58 AM Christian Eggers <[email protected]> wrote: > I have set LICENSE_CREATE_PACKAGE to "1" in order to create additional -lic > packages per recipe. As NO_RECOMMENDATIONS is set to "1" in my image > recipe, > the -lic packages are not installed automatically. > > How can I install specific -lic packages "manually". My idea was to create > a > new recipe which rdepends on all -lic packages which I would like to > install. > > # myrecipe.bb: > RDEPENDS_${PN} += "curl-lic" > > After that I get the following error message: > ERROR: Nothing RPROVIDES 'curl-lic' (but ... RDEPENDS on or otherwise > requires > it) > > The same happened when I tried to add the -lic packages to IMAGE_INSTALL > in my > image recipe. > > I also tried adding one line in image.bbclass, but this changed nothing: > > def add_package_and_files(d): > ... > d.setVar('PACKAGES', "%s %s" % (pn_lic, packages)) > d.setVar('FILES_' + pn_lic, files) > + d.setVar('RPROVIDES_' + pn_lic, pn_lic) > > > How can I install -lic packages in my rootfs without setting > NO_RECOMMENDATIONS to 0? > > regards > Christian > > > > > ________________________________ > [ > http://assets.arri.com/media/sign/2020-04-03-E-mail-signature-Stellar2_V1.jpg] > <https://microsites.arri.com/stellar/> > > Get all the latest information from www.arri.com<https://www.arri.com/>, > Facebook<https://www.facebook.com/TeamARRI>, Twitter< > https://twitter.com/ARRIChannel>, Instagram<https://instagram.com/arri> > and YouTube<https://www.youtube.com/user/ARRIChannel>. > > Arnold & Richter Cine Technik GmbH & Co. Betriebs KG > Sitz: München - Registergericht: Amtsgericht München - > Handelsregisternummer: HRA 57918 > Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH > Sitz: München - Registergericht: Amtsgericht München - > Handelsregisternummer: HRB 54477 > Geschäftsführer: Dr. Michael Neuhäuser; Stephan Schenk; Walter Trauninger; > Markus Zeiler > > -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Senior Software Engineer, Mentor Graphics
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#140484): https://lists.openembedded.org/g/openembedded-core/message/140484 Mute This Topic: https://lists.openembedded.org/mt/75394824/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
