On Tue, 23 Jan 2024 at 00:51, Lyu, William via lists.openembedded.org <[email protected]> wrote: > > Do you have some examples of these packages which don't exist? > > > > I'd like to understand why they don't exist and perhaps not have them > > listed in PACKAGES in the first place. Creating a load of empty/useless > > packages with ALLOW_EMPTY seems a bit pointless/sad. > > The following is a list of empty packages perl-modules RDEPENDS on. > > tmp/work/core2-64-poky-linux/perl/5.38.2/packages-split$ find -maxdepth 1 > -empty -name 'perl-module-*' > ./perl-module-config > ./perl-module-warnings-register > ./perl-module-vars > ./perl-module-strict > ./perl-module-config-git > ./perl-module-warnings
All of these are special-cased by the recipe to be packaged into the main perl package (and it sets RPROVIDES for them too). As the module package split is done with do_split_packages(), there are two options: - adjust file regexes in calls to that function to exclude the above items - (easier, and fine with me) set ALLOW_EMPTY only specifically for the above list, and not all module packages. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#194222): https://lists.openembedded.org/g/openembedded-core/message/194222 Mute This Topic: https://lists.openembedded.org/mt/103888731/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
