All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libnl-xfrm: add symbolic link to link netlink to libnl3/netlink
@ 2016-03-02 20:43 Hongmei Gou
  2016-03-03  3:07 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Hongmei Gou @ 2016-03-02 20:43 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Hongmei Gou <h-gou@ti.com>
---
 meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
index 74733f0..526ad0a 100644
--- a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
+++ b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
@@ -14,6 +14,8 @@ BRANCH="hawking_dev"
 SRCREV = "2a5ee7c4f41398c07c593e81af7b71c7720e6de8"
 SRC_URI = "git://arago-project.org/git/projects/libnl-xfrm.git;protocol=git;branch=${BRANCH}"
 
+PR = "r1"
+
 S = "${WORKDIR}/git"
 
 LIBNL_XFRM_LIB = "lib/libnl-xfrm.a"
@@ -34,6 +36,8 @@ do_install_append() {
 	install -c -m 755 ${S}/${LIBNL_XFRM_LIB} ${D}${libdir}/
 	install -c -m 755 ${S}/include/netlink/xfrm/*.h ${D}${includedir}/libnl3/netlink/xfrm/
 	install -c -m 755 ${S}/lib/libnl-xfrm.so ${D}${libdir}/libnl-xfrm.so.1.0.0
+	cd ${D}${includedir}/
+	ln -s libnl3/netlink netlink
 	cd ${D}${libdir}/
 	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so.1
 	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libnl-xfrm: add symbolic link to link netlink to libnl3/netlink
  2016-03-02 20:43 [PATCH] libnl-xfrm: add symbolic link to link netlink to libnl3/netlink Hongmei Gou
@ 2016-03-03  3:07 ` Denys Dmytriyenko
  2016-03-07 23:46   ` Gou, Hongmei
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2016-03-03  3:07 UTC (permalink / raw)
  To: Hongmei Gou; +Cc: meta-arago

"add symbolic link to link netlink to libnl3/netlink" - please re-phrase the 
subject.

Moreover, why is it required?


On Wed, Mar 02, 2016 at 03:43:56PM -0500, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <h-gou@ti.com>
> ---
>  meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> index 74733f0..526ad0a 100644
> --- a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> +++ b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> @@ -14,6 +14,8 @@ BRANCH="hawking_dev"
>  SRCREV = "2a5ee7c4f41398c07c593e81af7b71c7720e6de8"
>  SRC_URI = "git://arago-project.org/git/projects/libnl-xfrm.git;protocol=git;branch=${BRANCH}"
>  
> +PR = "r1"
> +
>  S = "${WORKDIR}/git"
>  
>  LIBNL_XFRM_LIB = "lib/libnl-xfrm.a"
> @@ -34,6 +36,8 @@ do_install_append() {
>  	install -c -m 755 ${S}/${LIBNL_XFRM_LIB} ${D}${libdir}/
>  	install -c -m 755 ${S}/include/netlink/xfrm/*.h ${D}${includedir}/libnl3/netlink/xfrm/
>  	install -c -m 755 ${S}/lib/libnl-xfrm.so ${D}${libdir}/libnl-xfrm.so.1.0.0
> +	cd ${D}${includedir}/
> +	ln -s libnl3/netlink netlink
>  	cd ${D}${libdir}/
>  	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so.1
>  	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so
> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libnl-xfrm: add symbolic link to link netlink to libnl3/netlink
  2016-03-03  3:07 ` Denys Dmytriyenko
@ 2016-03-07 23:46   ` Gou, Hongmei
  0 siblings, 0 replies; 3+ messages in thread
From: Gou, Hongmei @ 2016-03-07 23:46 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

Hi Denys,

This is for resolving IR SDOCM00119615: netlink symbolic link is missing under linux devkit

From IR Detailed Description:
"netlink symbol link is missing under usr/include. netlink was linked to libnl3/netlink folder. The header files are needed for netfp proxy build. "

Also in ipsecmgr source code, the header files are referenced as under the netlink folder, e.g,
http://arago-project.org/git/projects/ipsecmgr.git?p=projects/ipsecmgr.git;a=blob;f=src/snoop/ipsecmgr_snoop_msg.h;h=388677ff5dad3174be87f1fb33b3ff8f99383210;hb=c385c146846a60f5f68cb12670dee6d7c5edb028
./src/snoop/ipsecmgr_snoop_msg.h:39:#include <netlink/addr.h>
./src/snoop/ipsecmgr_snoop_msg.h:40:#include <netlink/xfrm/ae.h>
./src/snoop/ipsecmgr_snoop_msg.h:41:#include <netlink/xfrm/sa.h>
./src/snoop/ipsecmgr_snoop_msg.h:42:#include <netlink/xfrm/sp.h>
./src/snoop/ipsecmgr_snoop_msg.h:43:#include <netlink/xfrm/selector.h>
./src/snoop/ipsecmgr_snoop_msg.h:44:#include <netlink/xfrm/lifetime.h>

I will modify the subject and resubmit the patch.

Thanks,
Hongmei

> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, March 02, 2016 10:07 PM
> To: Gou, Hongmei
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] libnl-xfrm: add symbolic link to link netlink
> to libnl3/netlink
> 
> "add symbolic link to link netlink to libnl3/netlink" - please re-phrase the
> subject.
> 
> Moreover, why is it required?
> 
> 
> On Wed, Mar 02, 2016 at 03:43:56PM -0500, Hongmei Gou wrote:
> > Signed-off-by: Hongmei Gou <h-gou@ti.com>
> > ---
> >  meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb | 4
> > ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git
> > a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> > b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> > index 74733f0..526ad0a 100644
> > --- a/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> > +++ b/meta-arago-extras/recipes-support/libnl-xfrm/libnl-xfrm_git.bb
> > @@ -14,6 +14,8 @@ BRANCH="hawking_dev"
> >  SRCREV = "2a5ee7c4f41398c07c593e81af7b71c7720e6de8"
> >  SRC_URI = "git://arago-project.org/git/projects/libnl-
> xfrm.git;protocol=git;branch=${BRANCH}"
> >
> > +PR = "r1"
> > +
> >  S = "${WORKDIR}/git"
> >
> >  LIBNL_XFRM_LIB = "lib/libnl-xfrm.a"
> > @@ -34,6 +36,8 @@ do_install_append() {
> >  	install -c -m 755 ${S}/${LIBNL_XFRM_LIB} ${D}${libdir}/
> >  	install -c -m 755 ${S}/include/netlink/xfrm/*.h
> ${D}${includedir}/libnl3/netlink/xfrm/
> >  	install -c -m 755 ${S}/lib/libnl-xfrm.so
> > ${D}${libdir}/libnl-xfrm.so.1.0.0
> > +	cd ${D}${includedir}/
> > +	ln -s libnl3/netlink netlink
> >  	cd ${D}${libdir}/
> >  	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so.1
> >  	ln -s libnl-xfrm.so.1.0.0 libnl-xfrm.so
> > --
> > 1.9.1
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-07 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02 20:43 [PATCH] libnl-xfrm: add symbolic link to link netlink to libnl3/netlink Hongmei Gou
2016-03-03  3:07 ` Denys Dmytriyenko
2016-03-07 23:46   ` Gou, Hongmei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.