Skip to contentSkip to conversation

netcf: fix network driver check issue on opensuse

PATCH In review [email protected] 2 participants 2 messages May 23, 2013 – May 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netcf: fix network driver check issue on opensuse

From: Ting Liu <[email protected]>

---
 ...ix-network-driver-check-issue-on-opensuse.patch |   28 ++++++++++++++++++++
 recipes-networking/netcf/netcf_git.bb              |    6 +++-
 2 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch
recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch new file +28 -0
new file mode 100644
index 0000000..eef5b5c
@@ -0,0 +1,28 @@
+From 285871a2db42727665a2ab7fc16fa2fb8fa830d3 Mon Sep 17 00:00:00 2001
+From: Ting Liu <[email protected]>
+Date: Thu, 23 May 2013 17:39:35 +0800
+Subject: [PATCH] fix network driver check issue on opensuse
+
+Upstream-Status: Pending
+
+Signed-off-by: Ting Liu <[email protected]>
+---
+ configure.ac |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3f30865..708eb28 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -77,7 +77,7 @@ fi
+ if test "x$with_driver" = "xcheck" && test -f /etc/ubuntu_version ; then
+   with_driver=debian
+ fi
+-if test "x$with_driver" = "xcheck" && test -f /etc/suse-release ; then
++if test "x$with_driver" = "xcheck" && (test -f /etc/suse-release || test -f /etc/SuSE-release) ; then
+   with_driver=suse
+ fi
+ if test "x$with_driver" = "xcheck" ; then
+-- 
+1.7.3.4
+
recipes-networking/netcf/netcf_git.bb +4 -2
index 60fc446..d380e95 100644
@@ -7,10 +7,12 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
 
 SRCREV = "2b0d9ca226c13d7150382367f62b256bdb2db5ef"
-PR = "r0"
+PR = "r1"
 PV = "0.2.2+git${SRCPV}"
 
-SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git"
+SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
+           file://0001-fix-network-driver-check-issue-on-opensuse.patch \
+"
 
 DEPENDS += "augeas libnl libxslt libxml2"
 
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 2 lines · On Thu, May 23, 2013 at 5:57 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

Looks fine to me. I've staged the change.

Bruce

Quoted 64 lines
---
 ...ix-network-driver-check-issue-on-opensuse.patch |   28 ++++++++++++++++++++
 recipes-networking/netcf/netcf_git.bb              |    6 +++-
 2 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch
recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch new file +28 -0
new file mode 100644
index 0000000..eef5b5c
@@ -0,0 +1,28 @@
+From 285871a2db42727665a2ab7fc16fa2fb8fa830d3 Mon Sep 17 00:00:00 2001
+From: Ting Liu <[email protected]>
+Date: Thu, 23 May 2013 17:39:35 +0800
+Subject: [PATCH] fix network driver check issue on opensuse
+
+Upstream-Status: Pending
+
+Signed-off-by: Ting Liu <[email protected]>
+---
+ configure.ac |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3f30865..708eb28 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -77,7 +77,7 @@ fi
+ if test "x$with_driver" = "xcheck" && test -f /etc/ubuntu_version ; then
+   with_driver=debian
+ fi
+-if test "x$with_driver" = "xcheck" && test -f /etc/suse-release ; then
++if test "x$with_driver" = "xcheck" && (test -f /etc/suse-release || test -f /etc/SuSE-release) ; then
+   with_driver=suse
+ fi
+ if test "x$with_driver" = "xcheck" ; then
+--
+1.7.3.4
+
recipes-networking/netcf/netcf_git.bb +4 -3
index 60fc446..d380e95 100644
@@ -7,10 +7,12 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
 
 SRCREV = "2b0d9ca226c13d7150382367f62b256bdb2db5ef"
-PR = "r0"
+PR = "r1"
 PV = "0.2.2+git${SRCPV}"
 
-SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git"
+SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
+           file://0001-fix-network-driver-check-issue-on-opensuse.patch \
+"
 
 DEPENDS += "augeas libnl libxslt libxml2"
 
--

1.7.3.4

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"