on build system oe-pkgdata-util find-path "*/sfdisk"
or something like that might be worth exploring On Tue, Jul 2, 2024 at 11:03 PM Chris via lists.yoctoproject.org <christopher.weronski=protonmail....@lists.yoctoproject.org> wrote: > > > > Sent from Proton Mail Android > > > -------- Original Message -------- > On 7/3/24 07:57, Chris <christopher.weron...@protonmail.com> wrote: > > > Dear Yocto Community, > > > > I am reaching out to inquire whether there currently exists a method > > within the Yocto Project to identify which package contains a specific > > binary. Recently, I encountered a situation where I needed the sfdisk > > utility. Initially, I installed the util-linux package, assuming it > > included sfdisk. However, I later discovered that I needed to install > > util-linux-sfdisk to obtain the utility, after searching the mailing list > > archives. A similar situation occurred when searching for the package that > > contained the mkfs.ext4 utility. Eventually I discovered it was the > > e2fsprogs package, however I feel searching could be improved. > > > > If there is no existing method to easily determine which package provides > > a specific binary, I would like to propose the development of such a tool. > > This tool would greatly assist in adding dependencies to recipes, making > > the process less cumbersome and reducing the likelihood of similar issues. > > > > Additionally, if creating such a tool is not feasible, I suggest adding a > > "Provides" section to the recipe pages on the OpenEmbedded Layer Index > > (e.g., https://layers.openembedded.org/layerindex/recipe/XYZ). This section > > would list the binaries that each package installs, helping users quickly > > ascertain whether a given binary is included in a package. > > > > I believe these enhancements would significantly improve the efficiency of > > the Yocto Project for all users. I welcome any feedback or discussion on > > this matter and look forward to your thoughts. > > > > Thank you for your time and consideration. > > > > Best regards, > > Chris > > Sent from Proton Mail Android > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63432): https://lists.yoctoproject.org/g/yocto/message/63432 Mute This Topic: https://lists.yoctoproject.org/mt/107015160/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-