Skip to contentSkip to conversation

Small correction for the previous pathces

PATCH In review Tudor Florea 2 participants 8 messages Feb 13, 2015 – Feb 21, 2015

lore
Share & tools
lore
#0 lore raw

cover Small correction for the previous pathces

This is to really apply previous couple of patches for yajl-ruby and json. Also remove a patch for iproute2 as the code is already applied.

Tudor Florea (3):
json: make the previous patch really apply
yajl-ruby: make the previous patch really apply
iproute2: remove patch already applied

 meta-openstack/recipes-devtools/ruby/json_git.bb   |  2 +-
 .../recipes-devtools/ruby/yajl-ruby_git.bb         |  2 +-
 ...003-Don-t-enforce-that-dev-already-exists.patch | 27 ----------------------
 .../iproute2/iproute2_3.16.0.bbappend              |  2 --
 4 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 json: make the previous patch really apply

Change to get the patch 0001-Dont-compile-extensions.patch applied.

---
 meta-openstack/recipes-devtools/ruby/json_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/ruby/json_git.bb +1 -1
index a852500..f738ece 100644
@@ -17,9 +17,9 @@ S = "${WORKDIR}/git"
 
 SRC_URI = " \
     git://github.com/flori/json.git \
+    file://0001-Dont-compile-extensions.patch \
     "
 
 inherit ruby
 
 BBCLASSEXTEND = "native"
-    file://0001-Dont-compile-extensions.patch \
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/3 yajl-ruby: make the previous patch really apply

In reply to Tudor Florea

Change to get the patch 0001-Dont-compile-extensions.patch applied.

---
 meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/ruby/yajl-ruby_git.bb +1 -1
index 9531142..ecc8d43 100644
@@ -18,9 +18,9 @@ S = "${WORKDIR}/git"
 
 SRC_URI = " \
     git://github.com/brianmario/yajl-ruby.git \
+    file://0001-Don-t-compile-extensions.patch \
     "
 
 inherit ruby
 
 BBCLASSEXTEND = "native"
-    file://0001-Don-t-compile-extensions.patch \
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/3 iproute2: remove patch already applied

In reply to Tudor Florea

Remove the patch 0003-Don-t-enforce-that-dev-already-exists.patch as the code is already applied.

---
 ...003-Don-t-enforce-that-dev-already-exists.patch | 27 ----------------------
 .../iproute2/iproute2_3.16.0.bbappend              |  2 --
 2 files changed, 29 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch
meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch deleted +0 -27
deleted file mode 100644
index b296abe..0000000
@@ -1,27 +0,0 @@
-From 4a5577fab7490573ceaafa6e4417cf03bca178f1 Mon Sep 17 00:00:00 2001
-Message-Id: <4a5577fab7490573ceaafa6e4417cf03bca178f1.1407786415.git.agx@sigxcpu.org>
-From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
-Date: Mon, 11 Aug 2014 21:41:51 +0200
-Subject: [PATCH] Don't enforce that dev already exists
-
-Commit 9a02651a87d0fd56e2e7eedd63921a050a42b3ec tried to make sure
-the device can be looked up but that e.g. isn't true for
-
-  ip link add vnet10 type veth peer name vnet11
-
-where vnet10 isn't yet existent.
----
- ip/iplink.c | 2 --
- 1 file changed, 2 deletions(-)
-
---- a/ip/iplink.c
-+++ b/ip/iplink.c
-@@ -571,8 +571,6 @@ int iplink_parse(int argc, char **argv,
- 				duparg2("dev", *argv);
- 			*dev = *argv;
- 			dev_index = ll_name_to_index(*dev);
--			if (dev_index == 0)
--				invarg("Unknown device", *argv);
- 		}
- 		argc--; argv++;
- 	}
meta-openstack/recipes-support/iproute2/iproute2_3.16.0.bbappend +0 -2
index 8949646..2fde00d 100644
@@ -2,5 +2,3 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}"
 
 RRECOMMENDS_${PN} += "kernel-module-veth \
 	"
-
-SRC_URI += " file://0003-Don-t-enforce-that-dev-already-exists.patch"
Signature · 1 line
1.9.1
#4 lore raw

Re: [PATCH 3/3] iproute2: remove patch already applied

Quoted 2 lines · Tudor Florea

Remove the patch 0003-Don-t-enforce-that-dev-already-exists.patch as the code is already applied.

We should be documenting the meta-oe, or upstream commit ID that made this local bbappend no longer required.

Since the revisions of meta-openstack and meta-oe float, and are different for everyone .. this is critical information.

So can we get the patch header updated with that information ?

Bruce

Quoted 59 lines
---
 ...003-Don-t-enforce-that-dev-already-exists.patch | 27 ----------------------
 .../iproute2/iproute2_3.16.0.bbappend              |  2 --
 2 files changed, 29 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch
meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch deleted +0 -27
deleted file mode 100644
index b296abe..0000000
@@ -1,27 +0,0 @@
-From 4a5577fab7490573ceaafa6e4417cf03bca178f1 Mon Sep 17 00:00:00 2001
-Message-Id: <4a5577fab7490573ceaafa6e4417cf03bca178f1.1407786415.git.agx@sigxcpu.org>
-From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
-Date: Mon, 11 Aug 2014 21:41:51 +0200
-Subject: [PATCH] Don't enforce that dev already exists
-
-Commit 9a02651a87d0fd56e2e7eedd63921a050a42b3ec tried to make sure
-the device can be looked up but that e.g. isn't true for
-
-  ip link add vnet10 type veth peer name vnet11
-
-where vnet10 isn't yet existent.
----
- ip/iplink.c | 2 --
- 1 file changed, 2 deletions(-)
-
---- a/ip/iplink.c
-+++ b/ip/iplink.c
-@@ -571,8 +571,6 @@ int iplink_parse(int argc, char **argv,
-                               duparg2("dev", *argv);
-                       *dev = *argv;
-                       dev_index = ll_name_to_index(*dev);
--                      if (dev_index == 0)
--                              invarg("Unknown device", *argv);
-               }
-               argc--; argv++;
-       }
meta-openstack/recipes-support/iproute2/iproute2_3.16.0.bbappend +0 -3
index 8949646..2fde00d 100644
@@ -2,5 +2,3 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}"
 
 RRECOMMENDS_${PN} += "kernel-module-veth \
        "
-
-SRC_URI += " file://0003-Don-t-enforce-that-dev-already-exists.patch"
--

1.9.1

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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#5 lore raw

PATCH v2 1/1 iproute2: remove patch already applied

Remove the patch 0003-Don-t-enforce-that-dev-already-exists.patch as the similar patch exist in poky git repo added by commit 673bb3cffc1fdedb7c25178233c8699650194545

Author: Roy.Li <[email protected]>
Date:   Wed Oct 29 14:01:07 2014 +0800
---
 ...003-Don-t-enforce-that-dev-already-exists.patch | 27 ----------------------
 .../iproute2/iproute2_3.16.0.bbappend              |  2 --
 2 files changed, 29 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch
meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch deleted +0 -27
deleted file mode 100644
index b296abe..0000000
@@ -1,27 +0,0 @@
-From 4a5577fab7490573ceaafa6e4417cf03bca178f1 Mon Sep 17 00:00:00 2001
-Message-Id: <4a5577fab7490573ceaafa6e4417cf03bca178f1.1407786415.git.agx@sigxcpu.org>
-From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
-Date: Mon, 11 Aug 2014 21:41:51 +0200
-Subject: [PATCH] Don't enforce that dev already exists
-
-Commit 9a02651a87d0fd56e2e7eedd63921a050a42b3ec tried to make sure
-the device can be looked up but that e.g. isn't true for
-
-  ip link add vnet10 type veth peer name vnet11
-
-where vnet10 isn't yet existent.
----
- ip/iplink.c | 2 --
- 1 file changed, 2 deletions(-)
-
---- a/ip/iplink.c
-+++ b/ip/iplink.c
-@@ -571,8 +571,6 @@ int iplink_parse(int argc, char **argv,
- 				duparg2("dev", *argv);
- 			*dev = *argv;
- 			dev_index = ll_name_to_index(*dev);
--			if (dev_index == 0)
--				invarg("Unknown device", *argv);
- 		}
- 		argc--; argv++;
- 	}
meta-openstack/recipes-support/iproute2/iproute2_3.16.0.bbappend +0 -2
index 8949646..2fde00d 100644
@@ -2,5 +2,3 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}"
 
 RRECOMMENDS_${PN} += "kernel-module-veth \
 	"
-
-SRC_URI += " file://0003-Don-t-enforce-that-dev-already-exists.patch"
Signature · 1 line
1.9.1
#6 lore raw

Re: [PATCH v2 1/1] iproute2: remove patch already applied

Thanks. I've applied this patch, and will push it once build testing has completed.

Bruce

Quoted 64 lines · Tudor Florea

Remove the patch 0003-Don-t-enforce-that-dev-already-exists.patch as the similar patch exist in poky git repo added by commit 673bb3cffc1fdedb7c25178233c8699650194545

Author: Roy.Li <[email protected]>
Date:   Wed Oct 29 14:01:07 2014 +0800
---
 ...003-Don-t-enforce-that-dev-already-exists.patch | 27 ----------------------
 .../iproute2/iproute2_3.16.0.bbappend              |  2 --
 2 files changed, 29 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch
meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch deleted +0 -27
deleted file mode 100644
index b296abe..0000000
@@ -1,27 +0,0 @@
-From 4a5577fab7490573ceaafa6e4417cf03bca178f1 Mon Sep 17 00:00:00 2001
-Message-Id: <4a5577fab7490573ceaafa6e4417cf03bca178f1.1407786415.git.agx@sigxcpu.org>
-From: =?UTF-8?q?Guido=20G=C3=BCnther?= <[email protected]>
-Date: Mon, 11 Aug 2014 21:41:51 +0200
-Subject: [PATCH] Don't enforce that dev already exists
-
-Commit 9a02651a87d0fd56e2e7eedd63921a050a42b3ec tried to make sure
-the device can be looked up but that e.g. isn't true for
-
-  ip link add vnet10 type veth peer name vnet11
-
-where vnet10 isn't yet existent.
----
- ip/iplink.c | 2 --
- 1 file changed, 2 deletions(-)
-
---- a/ip/iplink.c
-+++ b/ip/iplink.c
-@@ -571,8 +571,6 @@ int iplink_parse(int argc, char **argv,
-                               duparg2("dev", *argv);
-                       *dev = *argv;
-                       dev_index = ll_name_to_index(*dev);
--                      if (dev_index == 0)
--                              invarg("Unknown device", *argv);
-               }
-               argc--; argv++;
-       }
meta-openstack/recipes-support/iproute2/iproute2_3.16.0.bbappend +0 -3
index 8949646..2fde00d 100644
@@ -2,5 +2,3 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}"
 
 RRECOMMENDS_${PN} += "kernel-module-veth \
        "
-
-SRC_URI += " file://0003-Don-t-enforce-that-dev-already-exists.patch"
--

1.9.1

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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
#7 lore raw
In reply to Tudor Florea

Argh. I had fixed these locally, but didn't push the changes.

Sorry for the breakage. I've rebased and pushed my changes now.

Bruce

Quoted 23 lines · Tudor Florea

This is to really apply previous couple of patches for yajl-ruby and json. Also remove a patch for iproute2 as the code is already applied.

Tudor Florea (3):
json: make the previous patch really apply
yajl-ruby: make the previous patch really apply
iproute2: remove patch already applied

 meta-openstack/recipes-devtools/ruby/json_git.bb   |  2 +-
 .../recipes-devtools/ruby/yajl-ruby_git.bb         |  2 +-
 ...003-Don-t-enforce-that-dev-already-exists.patch | 27 ----------------------
 .../iproute2/iproute2_3.16.0.bbappend              |  2 --
 4 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 meta-openstack/recipes-support/iproute2/iproute2/0003-Don-t-enforce-that-dev-already-exists.patch

--
1.9.1

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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"