All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/2] upgrade networkmanager and add new depends.
@ 2015-06-25  2:00 Li xin
  2015-06-25  2:00 ` [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2 Li xin
  2015-06-25  2:00 ` [meta-oe][PATCH 2/2] libndp: add new recipe Li xin
  0 siblings, 2 replies; 8+ messages in thread
From: Li xin @ 2015-06-25  2:00 UTC (permalink / raw)
  To: openembedded-devel

The newer networkmanager depends on libndp,so add it.

Li xin (2):
  networkmanager: upgrade from 0.9.8.10 to 1.0.2
  libndp: add new recipe

 meta-oe/recipes-connectivity/libndp/libndp_1.5.bb  | 12 +++++++++
 ...c-Check-only-for-libsystemd-not-libsystem.patch | 30 ----------------------
 ...manager_0.9.8.10.bb => networkmanager_1.0.2.bb} | 16 +++++-------
 3 files changed, 19 insertions(+), 39 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/libndp/libndp_1.5.bb
 delete mode 100644 meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
 rename meta-oe/recipes-connectivity/networkmanager/{networkmanager_0.9.8.10.bb => networkmanager_1.0.2.bb} (87%)

-- 
1.8.4.2



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

* [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2
  2015-06-25  2:00 [meta-oe][PATCH 0/2] upgrade networkmanager and add new depends Li xin
@ 2015-06-25  2:00 ` Li xin
  2015-06-25  5:32   ` Andreas Müller
  2015-06-25  2:00 ` [meta-oe][PATCH 2/2] libndp: add new recipe Li xin
  1 sibling, 1 reply; 8+ messages in thread
From: Li xin @ 2015-06-25  2:00 UTC (permalink / raw)
  To: openembedded-devel

1) remove 0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch,
it is not needed any more.

2) set NetworkManager.service auto disable,otherwise,the Root file system
using the method of NFS mount can't boot successfully.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
 ...c-Check-only-for-libsystemd-not-libsystem.patch | 30 ----------------------
 ...manager_0.9.8.10.bb => networkmanager_1.0.2.bb} | 16 +++++-------
 2 files changed, 7 insertions(+), 39 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
 rename meta-oe/recipes-connectivity/networkmanager/{networkmanager_0.9.8.10.bb => networkmanager_1.0.2.bb} (87%)

diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
deleted file mode 100644
index e356e9b..0000000
--- a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 10427a19302e871daeeb245581e930dc58195492 Mon Sep 17 00:00:00 2001
-From: Martin Jansa <Martin.Jansa@gmail.com>
-Date: Thu, 27 Feb 2014 12:59:03 +0100
-Subject: [PATCH] configure.ac: Check only for libsystemd not libsystemd-login
-
-* they were merged into libsystemd in systemd-209
-
-Upstream-Status: Pending (it would need to be conditional on systemd version for upstream to accept this)
-
-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index cc66e9b..3fe958e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -283,7 +283,7 @@ AS_IF([! (echo "$with_session_tracking" | grep -q -E "^(systemd|consolekit|no)$"
- AM_CONDITIONAL(SESSION_TRACKING_CK, test "$with_session_tracking" = "consolekit")
- AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test "xwith_session_tracking" = "systemd")
- if test "$with_session_tracking" = "systemd"; then
--	PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login])
-+	PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd])
- 	AC_SUBST(SYSTEMD_LOGIN_CFLAGS)
- 	AC_SUBST(SYSTEMD_LOGIN_LIBS)
- fi
--- 
-1.9.0
-
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
similarity index 87%
rename from meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb
rename to meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
index 8d37c98..fb8efaf 100644
--- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb
+++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
@@ -4,18 +4,16 @@ SECTION = "net/misc"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
 
-DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp"
+DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp libndp"
 
 inherit gnome gettext systemd
 
 SRC_URI = " \
     ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \
     file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
-    file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
 "
-SRC_URI[md5sum] = "aad2558887e25417c52eb2deaade2f85"
-SRC_URI[sha256sum] = "064d27223d3824859df12e1fb25b787fec1c68bbc864dc52a0289b9211c4c972"
-
+SRC_URI[md5sum] = "5a4899f89edcbdd1ac46d2d947e8d6eb"
+SRC_URI[sha256sum] = "359385707494bedbb48cfe0992ccfbcc4ac147dae1f7a47055c71e96439508ff"
 
 S = "${WORKDIR}/NetworkManager-${PV}"
 
@@ -47,7 +45,6 @@ PACKAGECONFIG[concheck] = "--enable-concheck,--disable-concheck,libsoup-2.4"
 do_install_prepend() {
     sed -i 's:deny send_destination:allow send_destination:g' ${S}/src/org.freedesktop.NetworkManager.conf
     sed -i 's:deny send_destination:allow send_destination:g' ${S}/callouts/nm-dispatcher.conf
-    sed -i 's:deny send_destination:allow send_destination:g' ${S}/callouts/nm-dhcp-client.conf
     sed -i 's:deny send_destination:allow send_destination:g' ${S}/callouts/nm-avahi-autoipd.conf
 }
 
@@ -55,8 +52,7 @@ do_install_append () {
     install -d ${D}${sysconfdir}/dbus-1/event.d
     # Additional test binaries
     install -d ${D}${bindir}
-    install -m 0755 ${B}/test/.libs/libnm* ${D}${bindir}
-
+    install -m 0755 ${B}/libnm-glib/libnm-glib-test ${D}${bindir}
     # Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
     # With or without VPN support built in ;).
     install -d ${D}${sysconfdir}/NetworkManager/VPN
@@ -78,7 +74,7 @@ FILES_${PN} += " \
     ${datadir}/polkit-1 \
     ${datadir}/dbus-1 \
     ${base_libdir}/udev/* \
-    ${systemd_unitdir}/system/NetworkManager-wait-online.service \
+    ${systemd_unitdir}/system/* \
 "
 
 RRECOMMENDS_${PN} += "iptables dnsmasq"
@@ -87,6 +83,7 @@ RDEPENDS_${PN} = " \
     wpa-supplicant \
     dhcp-client \
     ${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
+    libndp \
 "
 
 FILES_${PN}-dbg += " \
@@ -109,3 +106,4 @@ FILES_${PN}-tests = " \
 FILES_${PN}-bash-completion = "${datadir}/bash-completion"
 
 SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
+SYSTEMD_AUTO_ENABLE = "disable"
-- 
1.8.4.2



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

* [meta-oe][PATCH 2/2] libndp: add new recipe
  2015-06-25  2:00 [meta-oe][PATCH 0/2] upgrade networkmanager and add new depends Li xin
  2015-06-25  2:00 ` [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2 Li xin
@ 2015-06-25  2:00 ` Li xin
  1 sibling, 0 replies; 8+ messages in thread
From: Li xin @ 2015-06-25  2:00 UTC (permalink / raw)
  To: openembedded-devel

Library for Neighbor Discovery Protocol.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
---
 meta-oe/recipes-connectivity/libndp/libndp_1.5.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libndp/libndp_1.5.bb

diff --git a/meta-oe/recipes-connectivity/libndp/libndp_1.5.bb b/meta-oe/recipes-connectivity/libndp/libndp_1.5.bb
new file mode 100644
index 0000000..355cd75
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libndp/libndp_1.5.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Library for Neighbor Discovery Protocol"
+HOMEPAGE = "http://libndp.org/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "git://github.com/jpirko/libndp.git"
+S = "${WORKDIR}/git"
+SRCREV = "5c348445478b0b022a4276eff1d625224f2dd32c"
+SRC_URI[md5sum] = "d591dc6bec5bf6d23ced2f5041046cff"
+SRC_URI[sha256sum] = "1be25cabf84d16279a1bcbb300f463fd8933db787fb73e3e406b8bff31210967"
+
+inherit autotools
-- 
1.8.4.2



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

* Re: [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2
  2015-06-25  2:00 ` [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2 Li xin
@ 2015-06-25  5:32   ` Andreas Müller
  2015-06-25  6:34     ` Li, Xin
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Müller @ 2015-06-25  5:32 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jun 25, 2015 at 4:00 AM, Li xin <lixin.fnst@cn.fujitsu.com> wrote:
> 1) remove 0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch,
> it is not needed any more.
>
> 2) set NetworkManager.service auto disable,otherwise,the Root file system
> using the method of NFS mount can't boot successfully.
>
> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> ---
>  ...c-Check-only-for-libsystemd-not-libsystem.patch | 30 ----------------------
>  ...manager_0.9.8.10.bb => networkmanager_1.0.2.bb} | 16 +++++-------
>  2 files changed, 7 insertions(+), 39 deletions(-)
>  delete mode 100644 meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
>  rename meta-oe/recipes-connectivity/networkmanager/{networkmanager_0.9.8.10.bb => networkmanager_1.0.2.bb} (87%)
>
> diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
> deleted file mode 100644
> index e356e9b..0000000
> --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -From 10427a19302e871daeeb245581e930dc58195492 Mon Sep 17 00:00:00 2001
> -From: Martin Jansa <Martin.Jansa@gmail.com>
> -Date: Thu, 27 Feb 2014 12:59:03 +0100
> -Subject: [PATCH] configure.ac: Check only for libsystemd not libsystemd-login
> -
> -* they were merged into libsystemd in systemd-209
> -
> -Upstream-Status: Pending (it would need to be conditional on systemd version for upstream to accept this)
> -
> -Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ----
> - configure.ac | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index cc66e9b..3fe958e 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -283,7 +283,7 @@ AS_IF([! (echo "$with_session_tracking" | grep -q -E "^(systemd|consolekit|no)$"
> - AM_CONDITIONAL(SESSION_TRACKING_CK, test "$with_session_tracking" = "consolekit")
> - AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test "xwith_session_tracking" = "systemd")
> - if test "$with_session_tracking" = "systemd"; then
> --      PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login])
> -+      PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd])
> -       AC_SUBST(SYSTEMD_LOGIN_CFLAGS)
> -       AC_SUBST(SYSTEMD_LOGIN_LIBS)
> - fi
> ---
> -1.9.0
> -
> diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
> similarity index 87%
> rename from meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb
> rename to meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
> index 8d37c98..fb8efaf 100644
> --- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb
> +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
> @@ -4,18 +4,16 @@ SECTION = "net/misc"
>  LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
>
> -DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp"
> +DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp libndp"
>
>  inherit gnome gettext systemd
>
>  SRC_URI = " \
>      ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \
>      file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
> -    file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
>  "
> -SRC_URI[md5sum] = "aad2558887e25417c52eb2deaade2f85"
> -SRC_URI[sha256sum] = "064d27223d3824859df12e1fb25b787fec1c68bbc864dc52a0289b9211c4c972"
> -
> +SRC_URI[md5sum] = "5a4899f89edcbdd1ac46d2d947e8d6eb"
> +SRC_URI[sha256sum] = "359385707494bedbb48cfe0992ccfbcc4ac147dae1f7a47055c71e96439508ff"
>
>  S = "${WORKDIR}/NetworkManager-${PV}"
>
> @@ -47,7 +45,6 @@ PACKAGECONFIG[concheck] = "--enable-concheck,--disable-concheck,libsoup-2.4"
>  do_install_prepend() {
>      sed -i 's:deny send_destination:allow send_destination:g' ${S}/src/org.freedesktop.NetworkManager.conf
>      sed -i 's:deny send_destination:allow send_destination:g' ${S}/callouts/nm-dispatcher.conf
> -    sed -i 's:deny send_destination:allow send_destination:g' ${S}/callouts/nm-dhcp-client.conf
>      sed -i 's:deny send_destination:allow send_destination:g' ${S}/callouts/nm-avahi-autoipd.conf
>  }
>
> @@ -55,8 +52,7 @@ do_install_append () {
>      install -d ${D}${sysconfdir}/dbus-1/event.d
>      # Additional test binaries
>      install -d ${D}${bindir}
> -    install -m 0755 ${B}/test/.libs/libnm* ${D}${bindir}
> -
> +    install -m 0755 ${B}/libnm-glib/libnm-glib-test ${D}${bindir}
>      # Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
>      # With or without VPN support built in ;).
>      install -d ${D}${sysconfdir}/NetworkManager/VPN
> @@ -78,7 +74,7 @@ FILES_${PN} += " \
>      ${datadir}/polkit-1 \
>      ${datadir}/dbus-1 \
>      ${base_libdir}/udev/* \
> -    ${systemd_unitdir}/system/NetworkManager-wait-online.service \
> +    ${systemd_unitdir}/system/* \
>  "
>
>  RRECOMMENDS_${PN} += "iptables dnsmasq"
> @@ -87,6 +83,7 @@ RDEPENDS_${PN} = " \
>      wpa-supplicant \
>      dhcp-client \
>      ${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
> +    libndp \
>  "
>
>  FILES_${PN}-dbg += " \
> @@ -109,3 +106,4 @@ FILES_${PN}-tests = " \
>  FILES_${PN}-bash-completion = "${datadir}/bash-completion"
>
>  SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
> +SYSTEMD_AUTO_ENABLE = "disable"
What is this for?

Otherwise: Have same her under test for a while and am fine with it.

Have you an update for networkmanager applet - if not I can send out
the patch for it

Andreas


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

* Re: [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2
  2015-06-25  5:32   ` Andreas Müller
@ 2015-06-25  6:34     ` Li, Xin
  2015-06-25  6:36       ` Andreas Müller
  0 siblings, 1 reply; 8+ messages in thread
From: Li, Xin @ 2015-06-25  6:34 UTC (permalink / raw)
  To: openembedded-devel


> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Andreas Müller
> Sent: Thursday, June 25, 2015 1:32 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to
> 1.0.2
> 
> On Thu, Jun 25, 2015 at 4:00 AM, Li xin <lixin.fnst@cn.fujitsu.com> wrote:
> > 1) remove
> > 0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch,
> > it is not needed any more.
> >
> > 2) set NetworkManager.service auto disable,otherwise,the Root file
> > system using the method of NFS mount can't boot successfully.
> >
> > Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> > ---
> >  ...c-Check-only-for-libsystemd-not-libsystem.patch | 30
> > ----------------------  ...manager_0.9.8.10.bb =>
> > networkmanager_1.0.2.bb} | 16 +++++-------
> >  2 files changed, 7 insertions(+), 39 deletions(-)  delete mode 100644
> > meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-config
> > ure.ac-Check-only-for-libsystemd-not-libsystem.patch
> >  rename
> > meta-oe/recipes-connectivity/networkmanager/{networkmanager_0.9.8.10.b
> > b => networkmanager_1.0.2.bb} (87%)
> >
> > diff --git
> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-conf
> > igure.ac-Check-only-for-libsystemd-not-libsystem.patch
> > b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-conf
> > igure.ac-Check-only-for-libsystemd-not-libsystem.patch
> > deleted file mode 100644
> > index e356e9b..0000000
> > ---
> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-conf
> > igure.ac-Check-only-for-libsystemd-not-libsystem.patch
> > +++ /dev/null
> > @@ -1,30 +0,0 @@
> > -From 10427a19302e871daeeb245581e930dc58195492 Mon Sep 17 00:00:00
> > 2001
> > -From: Martin Jansa <Martin.Jansa@gmail.com>
> > -Date: Thu, 27 Feb 2014 12:59:03 +0100
> > -Subject: [PATCH] configure.ac: Check only for libsystemd not
> > libsystemd-login
> > -
> > -* they were merged into libsystemd in systemd-209
> > -
> > -Upstream-Status: Pending (it would need to be conditional on systemd
> > version for upstream to accept this)
> > -
> > -Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ----
> > - configure.ac | 2 +-
> > - 1 file changed, 1 insertion(+), 1 deletion(-)
> > -
> > -diff --git a/configure.ac b/configure.ac -index cc66e9b..3fe958e
> > 100644
> > ---- a/configure.ac
> > -+++ b/configure.ac
> > -@@ -283,7 +283,7 @@ AS_IF([! (echo "$with_session_tracking" | grep -q -E
> "^(systemd|consolekit|no)$"
> > - AM_CONDITIONAL(SESSION_TRACKING_CK, test "$with_session_tracking" =
> > "consolekit")
> > - AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test
> > "xwith_session_tracking" = "systemd")
> > - if test "$with_session_tracking" = "systemd"; then
> > --      PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login])
> > -+      PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd])
> > -       AC_SUBST(SYSTEMD_LOGIN_CFLAGS)
> > -       AC_SUBST(SYSTEMD_LOGIN_LIBS)
> > - fi
> > ---
> > -1.9.0
> > -
> > diff --git
> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.
> > bb
> > b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
> > similarity index 87%
> > rename from
> > meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb
> > rename to
> > meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
> > index 8d37c98..fb8efaf 100644
> > ---
> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.
> > bb
> > +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2
> > +++ .bb
> > @@ -4,18 +4,16 @@ SECTION = "net/misc"
> >  LICENSE = "GPLv2+"
> >  LIC_FILES_CHKSUM =
> "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
> >
> > -DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp"
> > +DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp libndp"
> >
> >  inherit gnome gettext systemd
> >
> >  SRC_URI = " \
> >
> ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkMana
> ger-${PV}.tar.xz \
> >      file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
> > -    file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
> >  "
> > -SRC_URI[md5sum] = "aad2558887e25417c52eb2deaade2f85"
> > -SRC_URI[sha256sum] =
> "064d27223d3824859df12e1fb25b787fec1c68bbc864dc52a0289b9211c4c972"
> > -
> > +SRC_URI[md5sum] = "5a4899f89edcbdd1ac46d2d947e8d6eb"
> > +SRC_URI[sha256sum] =
> "359385707494bedbb48cfe0992ccfbcc4ac147dae1f7a47055c71e96439508ff"
> >
> >  S = "${WORKDIR}/NetworkManager-${PV}"
> >
> > @@ -47,7 +45,6 @@ PACKAGECONFIG[concheck] =
> "--enable-concheck,--disable-concheck,libsoup-2.4"
> >  do_install_prepend() {
> >      sed -i 's:deny send_destination:allow send_destination:g'
> ${S}/src/org.freedesktop.NetworkManager.conf
> >      sed -i 's:deny send_destination:allow send_destination:g'
> ${S}/callouts/nm-dispatcher.conf
> > -    sed -i 's:deny send_destination:allow send_destination:g'
> ${S}/callouts/nm-dhcp-client.conf
> >      sed -i 's:deny send_destination:allow send_destination:g'
> > ${S}/callouts/nm-avahi-autoipd.conf
> >  }
> >
> > @@ -55,8 +52,7 @@ do_install_append () {
> >      install -d ${D}${sysconfdir}/dbus-1/event.d
> >      # Additional test binaries
> >      install -d ${D}${bindir}
> > -    install -m 0755 ${B}/test/.libs/libnm* ${D}${bindir}
> > -
> > +    install -m 0755 ${B}/libnm-glib/libnm-glib-test ${D}${bindir}
> >      # Install an empty VPN folder as nm-connection-editor will happily segfault
> without it :o.
> >      # With or without VPN support built in ;).
> >      install -d ${D}${sysconfdir}/NetworkManager/VPN
> > @@ -78,7 +74,7 @@ FILES_${PN} += " \
> >      ${datadir}/polkit-1 \
> >      ${datadir}/dbus-1 \
> >      ${base_libdir}/udev/* \
> > -    ${systemd_unitdir}/system/NetworkManager-wait-online.service \
> > +    ${systemd_unitdir}/system/* \
> >  "
> >
> >  RRECOMMENDS_${PN} += "iptables dnsmasq"
> > @@ -87,6 +83,7 @@ RDEPENDS_${PN} = " \
> >      wpa-supplicant \
> >      dhcp-client \
> >      ${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
> > +    libndp \
> >  "
> >
> >  FILES_${PN}-dbg += " \
> > @@ -109,3 +106,4 @@ FILES_${PN}-tests = " \
> > FILES_${PN}-bash-completion = "${datadir}/bash-completion"
> >
> >  SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
> > +SYSTEMD_AUTO_ENABLE = "disable"
> What is this for?
> 
> Otherwise: Have same her under test for a while and am fine with it.
>
Thanks for your reply.

After setting "SYSTEMD_AUTO_ENABLE = "disable"", the NetworkManager.service will not 
Be started when the system starts.
And we did test about this.
> Have you an update for networkmanager applet - if not I can send out the patch for
> it
This patch update for networkmanager to 1.0.2,and 1.0.2 is the latest version.

Regards,
li



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

* Re: [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2
  2015-06-25  6:34     ` Li, Xin
@ 2015-06-25  6:36       ` Andreas Müller
  2015-06-25  7:09         ` Li, Xin
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Müller @ 2015-06-25  6:36 UTC (permalink / raw)
  To: Li, Xin; +Cc: openembedded-devel

On Thu, Jun 25, 2015 at 8:34 AM, Li, Xin <lixin.fnst@cn.fujitsu.com> wrote:
>
>> -----Original Message-----
>> From: openembedded-devel-bounces@lists.openembedded.org
>> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
>> Andreas Müller
>> Sent: Thursday, June 25, 2015 1:32 PM
>> To: openembedded-devel@lists.openembedded.org
>> Subject: Re: [oe] [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to
>> 1.0.2
>>
>> On Thu, Jun 25, 2015 at 4:00 AM, Li xin <lixin.fnst@cn.fujitsu.com> wrote:
>> > 1) remove
>> > 0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch,
>> > it is not needed any more.
>> >
>> > 2) set NetworkManager.service auto disable,otherwise,the Root file
>> > system using the method of NFS mount can't boot successfully.
>> >
>> > Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
>> > ---
>> >  ...c-Check-only-for-libsystemd-not-libsystem.patch | 30
>> > ----------------------  ...manager_0.9.8.10.bb =>
>> > networkmanager_1.0.2.bb} | 16 +++++-------
>> >  2 files changed, 7 insertions(+), 39 deletions(-)  delete mode 100644
>> > meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-config
>> > ure.ac-Check-only-for-libsystemd-not-libsystem.patch
>> >  rename
>> > meta-oe/recipes-connectivity/networkmanager/{networkmanager_0.9.8.10.b
>> > b => networkmanager_1.0.2.bb} (87%)
>> >
>> > diff --git
>> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-conf
>> > igure.ac-Check-only-for-libsystemd-not-libsystem.patch
>> > b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-conf
>> > igure.ac-Check-only-for-libsystemd-not-libsystem.patch
>> > deleted file mode 100644
>> > index e356e9b..0000000
>> > ---
>> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-conf
>> > igure.ac-Check-only-for-libsystemd-not-libsystem.patch
>> > +++ /dev/null
>> > @@ -1,30 +0,0 @@
>> > -From 10427a19302e871daeeb245581e930dc58195492 Mon Sep 17 00:00:00
>> > 2001
>> > -From: Martin Jansa <Martin.Jansa@gmail.com>
>> > -Date: Thu, 27 Feb 2014 12:59:03 +0100
>> > -Subject: [PATCH] configure.ac: Check only for libsystemd not
>> > libsystemd-login
>> > -
>> > -* they were merged into libsystemd in systemd-209
>> > -
>> > -Upstream-Status: Pending (it would need to be conditional on systemd
>> > version for upstream to accept this)
>> > -
>> > -Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
>> > ----
>> > - configure.ac | 2 +-
>> > - 1 file changed, 1 insertion(+), 1 deletion(-)
>> > -
>> > -diff --git a/configure.ac b/configure.ac -index cc66e9b..3fe958e
>> > 100644
>> > ---- a/configure.ac
>> > -+++ b/configure.ac
>> > -@@ -283,7 +283,7 @@ AS_IF([! (echo "$with_session_tracking" | grep -q -E
>> "^(systemd|consolekit|no)$"
>> > - AM_CONDITIONAL(SESSION_TRACKING_CK, test "$with_session_tracking" =
>> > "consolekit")
>> > - AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test
>> > "xwith_session_tracking" = "systemd")
>> > - if test "$with_session_tracking" = "systemd"; then
>> > --      PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login])
>> > -+      PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd])
>> > -       AC_SUBST(SYSTEMD_LOGIN_CFLAGS)
>> > -       AC_SUBST(SYSTEMD_LOGIN_LIBS)
>> > - fi
>> > ---
>> > -1.9.0
>> > -
>> > diff --git
>> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.
>> > bb
>> > b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
>> > similarity index 87%
>> > rename from
>> > meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.bb
>> > rename to
>> > meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2.bb
>> > index 8d37c98..fb8efaf 100644
>> > ---
>> > a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.8.10.
>> > bb
>> > +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_1.0.2
>> > +++ .bb
>> > @@ -4,18 +4,16 @@ SECTION = "net/misc"
>> >  LICENSE = "GPLv2+"
>> >  LIC_FILES_CHKSUM =
>> "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
>> >
>> > -DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp"
>> > +DEPENDS = "libnl dbus dbus-glib udev wireless-tools nss util-linux ppp libndp"
>> >
>> >  inherit gnome gettext systemd
>> >
>> >  SRC_URI = " \
>> >
>> ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkMana
>> ger-${PV}.tar.xz \
>> >      file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
>> > -    file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
>> >  "
>> > -SRC_URI[md5sum] = "aad2558887e25417c52eb2deaade2f85"
>> > -SRC_URI[sha256sum] =
>> "064d27223d3824859df12e1fb25b787fec1c68bbc864dc52a0289b9211c4c972"
>> > -
>> > +SRC_URI[md5sum] = "5a4899f89edcbdd1ac46d2d947e8d6eb"
>> > +SRC_URI[sha256sum] =
>> "359385707494bedbb48cfe0992ccfbcc4ac147dae1f7a47055c71e96439508ff"
>> >
>> >  S = "${WORKDIR}/NetworkManager-${PV}"
>> >
>> > @@ -47,7 +45,6 @@ PACKAGECONFIG[concheck] =
>> "--enable-concheck,--disable-concheck,libsoup-2.4"
>> >  do_install_prepend() {
>> >      sed -i 's:deny send_destination:allow send_destination:g'
>> ${S}/src/org.freedesktop.NetworkManager.conf
>> >      sed -i 's:deny send_destination:allow send_destination:g'
>> ${S}/callouts/nm-dispatcher.conf
>> > -    sed -i 's:deny send_destination:allow send_destination:g'
>> ${S}/callouts/nm-dhcp-client.conf
>> >      sed -i 's:deny send_destination:allow send_destination:g'
>> > ${S}/callouts/nm-avahi-autoipd.conf
>> >  }
>> >
>> > @@ -55,8 +52,7 @@ do_install_append () {
>> >      install -d ${D}${sysconfdir}/dbus-1/event.d
>> >      # Additional test binaries
>> >      install -d ${D}${bindir}
>> > -    install -m 0755 ${B}/test/.libs/libnm* ${D}${bindir}
>> > -
>> > +    install -m 0755 ${B}/libnm-glib/libnm-glib-test ${D}${bindir}
>> >      # Install an empty VPN folder as nm-connection-editor will happily segfault
>> without it :o.
>> >      # With or without VPN support built in ;).
>> >      install -d ${D}${sysconfdir}/NetworkManager/VPN
>> > @@ -78,7 +74,7 @@ FILES_${PN} += " \
>> >      ${datadir}/polkit-1 \
>> >      ${datadir}/dbus-1 \
>> >      ${base_libdir}/udev/* \
>> > -    ${systemd_unitdir}/system/NetworkManager-wait-online.service \
>> > +    ${systemd_unitdir}/system/* \
>> >  "
>> >
>> >  RRECOMMENDS_${PN} += "iptables dnsmasq"
>> > @@ -87,6 +83,7 @@ RDEPENDS_${PN} = " \
>> >      wpa-supplicant \
>> >      dhcp-client \
>> >      ${@base_contains('COMBINED_FEATURES', '3gmodem', 'ppp', '', d)} \
>> > +    libndp \
>> >  "
>> >
>> >  FILES_${PN}-dbg += " \
>> > @@ -109,3 +106,4 @@ FILES_${PN}-tests = " \
>> > FILES_${PN}-bash-completion = "${datadir}/bash-completion"
>> >
>> >  SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
>> > +SYSTEMD_AUTO_ENABLE = "disable"
>> What is this for?
>>
>> Otherwise: Have same her under test for a while and am fine with it.
>>
> Thanks for your reply.
>
> After setting "SYSTEMD_AUTO_ENABLE = "disable"", the NetworkManager.service will not
> Be started when the system starts.
> And we did test about this.
Yes and how is it started?

Andreas


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

* Re: [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2
  2015-06-25  6:36       ` Andreas Müller
@ 2015-06-25  7:09         ` Li, Xin
  2015-06-25  7:22           ` Andreas Müller
  0 siblings, 1 reply; 8+ messages in thread
From: Li, Xin @ 2015-06-25  7:09 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembedded-devel


> -----Original Message-----
> From: Andreas Müller [mailto:schnitzeltony@googlemail.com]
> Sent: Thursday, June 25, 2015 2:37 PM
> To: Li, Xin/李 欣
> Cc: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to
> 1.0.2
> 
> On Thu, Jun 25, 2015 at 8:34 AM, Li, Xin <lixin.fnst@cn.fujitsu.com> wrote:
> >> >
> >> >  SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
> >> > +SYSTEMD_AUTO_ENABLE = "disable"
> >> What is this for?
> >>
> >> Otherwise: Have same her under test for a while and am fine with it.
> >>
> > Thanks for your reply.
> >
> > After setting "SYSTEMD_AUTO_ENABLE = "disable"", the
> > NetworkManager.service will not Be started when the system starts.
> > And we did test about this.
> Yes and how is it started?

The systemd is enabled in our system.
So, In the process of starting the system, it will check all of the service which is enabled and start them .
For example, if we set NetworkManager.service enable, it will be started automatically when the system is starting.

Regards,
Li


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

* Re: [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2
  2015-06-25  7:09         ` Li, Xin
@ 2015-06-25  7:22           ` Andreas Müller
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Müller @ 2015-06-25  7:22 UTC (permalink / raw)
  To: Li, Xin; +Cc: openembedded-devel

On Thu, Jun 25, 2015 at 9:09 AM, Li, Xin <lixin.fnst@cn.fujitsu.com> wrote:
>
>> -----Original Message-----
>> From: Andreas Müller [mailto:schnitzeltony@googlemail.com]
>> Sent: Thursday, June 25, 2015 2:37 PM
>> To: Li, Xin/李 欣
>> Cc: openembedded-devel@lists.openembedded.org
>> Subject: Re: [oe] [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to
>> 1.0.2
>>
>> On Thu, Jun 25, 2015 at 8:34 AM, Li, Xin <lixin.fnst@cn.fujitsu.com> wrote:
>> >> >
>> >> >  SYSTEMD_SERVICE_${PN} = "NetworkManager.service"
>> >> > +SYSTEMD_AUTO_ENABLE = "disable"
>> >> What is this for?
>> >>
>> >> Otherwise: Have same her under test for a while and am fine with it.
>> >>
>> > Thanks for your reply.
>> >
>> > After setting "SYSTEMD_AUTO_ENABLE = "disable"", the
>> > NetworkManager.service will not Be started when the system starts.
>> > And we did test about this.
>> Yes and how is it started?
>
> The systemd is enabled in our system.
> So, In the process of starting the system, it will check all of the service which is enabled and start them .
> For example, if we set NetworkManager.service enable, it will be started automatically when the system is starting.
>
People install networkmanager to take care for all types of
connections out of the box. So this default is not what most people
want installing networkmanager so NAK - you can add that in a
bbappend.

Andreas


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

end of thread, other threads:[~2015-06-25  7:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-25  2:00 [meta-oe][PATCH 0/2] upgrade networkmanager and add new depends Li xin
2015-06-25  2:00 ` [meta-oe][PATCH 1/2] networkmanager: upgrade from 0.9.8.10 to 1.0.2 Li xin
2015-06-25  5:32   ` Andreas Müller
2015-06-25  6:34     ` Li, Xin
2015-06-25  6:36       ` Andreas Müller
2015-06-25  7:09         ` Li, Xin
2015-06-25  7:22           ` Andreas Müller
2015-06-25  2:00 ` [meta-oe][PATCH 2/2] libndp: add new recipe Li xin

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.