Ping
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : [email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Zheng, Ruoqin
> Sent: Tuesday, April 16, 2019 7:17 PM
> To: [email protected]
> Subject: Re: [OE-core] [PATCH v2] dnf: Enable nativesdk
>
> Ping
>
> --------------------------------------------------
> Zheng Ruoqin
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
> ADDR.: No.6 Wenzhu Road, Software Avenue,
> Nanjing, 210012, China
> MAIL : [email protected]
>
>
> > -----Original Message-----
> > From: Zheng, Ruoqin/郑 若钦
> > Sent: Saturday, April 13, 2019 10:36 PM
> > To: [email protected]
> > Cc: Zheng, Ruoqin/郑 若钦 <[email protected]>
> > Subject: [OE-core] [PATCH v2] dnf: Enable nativesdk
> >
> > Make dnf work on nativesdk environment.
> >
> > Signed-off-by: Zheng Ruoqin <[email protected]>
> > ---
> > meta/recipes-devtools/dnf/dnf_4.1.0.bb | 10 +++++++++-
> > 1 file changed, 9 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-devtools/dnf/dnf_4.1.0.bb b/meta/recipes-
> > devtools/dnf/dnf_4.1.0.bb index d45023e..8b4291a 100644
> > --- a/meta/recipes-devtools/dnf/dnf_4.1.0.bb
> > +++ b/meta/recipes-devtools/dnf/dnf_4.1.0.bb
> > @@ -26,7 +26,7 @@ EXTRA_OECMAKE = " -DWITH_MAN=0 -
> > DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -
> >
> > BBCLASSEXTEND = "native nativesdk"
> >
> > -RDEPENDS_${PN}_class-target += " \
> > +RDEPENDS_${PN} += " \
> > python3-core \
> > python3-codecs \
> > python3-netclient \
> > @@ -49,6 +49,8 @@ RDEPENDS_${PN}_class-target += " \
> > python3-gpg \
> > "
> >
> > +RDEPENDS_${PN}_class-native = ""
> > +
> > RRECOMMENDS_${PN}_class-target += "gnupg"
> >
> > # Create a symlink called 'dnf' as 'make install' does not do it, but
> > @@ -66,6
> > +68,12 @@ do_install_append_class-native() {
> > RPM_NO_CHROOT_FOR_SCRIPTS=1 }
> >
> > +do_install_append_class-nativesdk() {
> > + create_wrapper ${D}/${bindir}/dnf \
> > + RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \
> > + RPM_NO_CHROOT_FOR_SCRIPTS=1 }
> > +
> > SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \
> > dnf-automatic.service dnf-automatic.timer \
> > dnf-automatic-download.service
> > dnf-automatic-download.timer \
> > --
> > 1.8.3.1
>
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core