On Mon, 2023-01-16 at 16:48 +0800, Chen Qi wrote: > For now, running `file' inside SDK errors out. > file: could not find any valid magic files! > > This is because nativesdk-rpm exports MAGIC. So let's > make nativesdk-rpm depend on file for better user > experiences. > > Signed-off-by: Chen Qi <qi.c...@windriver.com> > --- > meta/recipes-devtools/rpm/rpm_4.18.0.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-devtools/rpm/rpm_4.18.0.bb > b/meta/recipes-devtools/rpm/rpm_4.18.0.bb > index 8eb0ab207e..3b7d4d640a 100644 > --- a/meta/recipes-devtools/rpm/rpm_4.18.0.bb > +++ b/meta/recipes-devtools/rpm/rpm_4.18.0.bb > @@ -188,6 +188,7 @@ PROVIDES += "python3-rpm" > FILES:python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*" > > RDEPENDS:${PN}-build = "bash perl python3-core" > +RDEPENDS:nativesdk-rpm += "nativesdk-file"
Should we be adding file to ${PN}-build instead? Which rpm command was this with? Does anywhere else in rpm have/need this dependency? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175970): https://lists.openembedded.org/g/openembedded-core/message/175970 Mute This Topic: https://lists.openembedded.org/mt/96303256/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-