Skip to contentSkip to conversation

irqbalance: Uprev to 1.0.6

PATCH In review Yang Shi 4 participants 5 messages Aug 26, 2013 – Aug 27, 2013

lore
Share & tools
lore

Yang Shi

author
#0 lore raw

PATCH 1/1 irqbalance: Uprev to 1.0.6

Add recipe for 1.0.6 version. And, add status and reload commands into init script.

---
 ...irqbalance-Add-status-and-reload-commands.patch |   55 ++++++++++++++++++++
 recipes-extended/irqbalance/irqbalance_1.0.6.bb    |   15 +++++
 2 files changed, 70 insertions(+), 0 deletions(-)
 create mode 100644 recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch
 create mode 100644 recipes-extended/irqbalance/irqbalance_1.0.6.bb
recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +55 -0
new file mode 100644
index 0000000..d853d0b
@@ -0,0 +1,55 @@
+From dc7366896dd5a5bae82be4b11530bc9fdb7cbcdd Mon Sep 17 00:00:00 2001
+From: Yang Shi <[email protected]>
+Date: Mon, 26 Aug 2013 10:58:02 -0700
+Subject: [PATCH] irqbalance: Add status and reload commands
+
+Add status and reload commands for irqbalanced init script
+
+Signed-off-by: Yang Shi <[email protected]>
+---
+ irqbalance.init |   12 +++++++++---
+ 1 files changed, 9 insertions(+), 3 deletions(-)
+
+diff --git a/irqbalance.init b/irqbalance.init
+index d12d62c..f58bf55 100644
+--- a/irqbalance.init
++++ b/irqbalance.init
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #
+-# Copyright (c) 2012 Wind River Systems, Inc.
++# Copyright (c) 2013 Wind River Systems, Inc.
+ #
+ ### BEGIN INIT INFO
+ # Provides:             irqbalance
+@@ -11,6 +11,8 @@
+ # Short-Description:    IRQ allocation daemon
+ ### END INIT INFO
+ 
++. /etc/init.d/functions
++
+ case "$1" in
+   start)
+ 	echo -n "Starting irqbalance: "
+@@ -22,12 +24,16 @@ case "$1" in
+ 	start-stop-daemon -K -n irqbalance
+ 	echo "done"
+ 	;;
+-  restart)
++  restart|reload)
+ 	$0 stop
+ 	$0 start
+ 	;;
++  status)
++	status irqbalance
++	echo "done"
++	;;
+   *)
+-	echo "Usage: $0 {start | stop | restart}" >&2
++	echo "Usage: $0 {start | stop | restart | reload | status}" >&2
+ 	exit 1
+ 	;;
+ esac
+-- 
+1.7.5.4
+
recipes-extended/irqbalance/irqbalance_1.0.6.bb new file +15 -0
new file mode 100644
index 0000000..fd08b73
@@ -0,0 +1,15 @@
+#
+# Copyright (C) 2013 Wind River Systems, Inc.
+#
+
+require irqbalance.inc
+
+PR = "r0"
+
+SRC_URI[md5sum] = "b73b1a5a9e1c3c428ae39024c711e41e"
+SRC_URI[sha256sum] = "95ac79992e6de501f613c781b0fc8aa17a4aaf6a3d865bb6e15ac6a46c6ab1fd"
+
+SRC_URI = "http://irqbalance.googlecode.com/files/irqbalance-${PV}.tar.gz \
+           file://add-initscript.patch \
+           file://irqbalance-Add-status-and-reload-commands.patch \
+          "
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 28 lines · Yang Shi

Add recipe for 1.0.6 version. And, add status and reload commands into init script.

---
  ...irqbalance-Add-status-and-reload-commands.patch |   55 ++++++++++++++++++++
  recipes-extended/irqbalance/irqbalance_1.0.6.bb    |   15 +++++
  2 files changed, 70 insertions(+), 0 deletions(-)

create mode 100644 recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch create mode 100644 recipes-extended/irqbalance/irqbalance_1.0.6.bb

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +11 -0
new file mode 100644
index 0000000..d853d0b
@@ -0,0 +1,55 @@
+From dc7366896dd5a5bae82be4b11530bc9fdb7cbcdd Mon Sep 17 00:00:00 2001
+From: Yang Shi <[email protected]>
+Date: Mon, 26 Aug 2013 10:58:02 -0700
+Subject: [PATCH] irqbalance: Add status and reload commands
+
+Add status and reload commands for irqbalanced init script
+
+Signed-off-by: Yang Shi <[email protected]>
+---
+ irqbalance.init |   12 +++++++++---
+ 1 files changed, 9 insertions(+), 3 deletions(-)

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch line 21

Quoted 10 lines
recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +10 -0
+
+diff --git a/irqbalance.init b/irqbalance.init
+index d12d62c..f58bf55 100644
+--- a/irqbalance.init
++++ b/irqbalance.init
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #
+-# Copyright (c) 2012 Wind River Systems, Inc.
++# Copyright (c) 2013 Wind River Systems, Inc

What is this ?, as far as I understand it, the script + recipe is proprietary licensed to windriver.

I see the windriver copyright notice was introduced with commit: 43b438f06897a390e16709b3f9e11355f325e2e9 I seem to remember that we agreed that all contents of meta-virtualization should be MIT.

Also, patches for meta-virtualization should be sent to the meta-virtualization mailinglist.

Br,
David

#2 lore raw
Quoted 50 lines · On Tuesday 27 August 2013 09:32:24 David Nyström wrote:
Quoted 35 lines · Yang Shi

Add recipe for 1.0.6 version. And, add status and reload commands into init script.

---

  ...irqbalance-Add-status-and-reload-commands.patch |   55
  ++++++++++++++++++++ recipes-extended/irqbalance/irqbalance_1.0.6.bb   
  |   15 +++++
  2 files changed, 70 insertions(+), 0 deletions(-)

create mode 100644 recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch create mode 100644 recipes-extended/irqbalance/irqbalance_1.0.6.bb>
diff --git a/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch b/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch new file mode 100644
index 0000000..d853d0b
--- /dev/null
+++
b/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +11 -1
-commands.patch @@ -0,0 +1,55 @@
+From dc7366896dd5a5bae82be4b11530bc9fdb7cbcdd Mon Sep 17 00:00:00 2001
+From: Yang Shi <[email protected]>
+Date: Mon, 26 Aug 2013 10:58:02 -0700
+Subject: [PATCH] irqbalance: Add status and reload commands
+
+Add status and reload commands for irqbalanced init script
+
+Signed-off-by: Yang Shi <[email protected]>
+---
+ irqbalance.init |   12 +++++++++---
+ 1 files changed, 9 insertions(+), 3 deletions(-)

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch

Quoted 10 lines
recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +10 -0
+
+diff --git a/irqbalance.init b/irqbalance.init
+index d12d62c..f58bf55 100644
+--- a/irqbalance.init
++++ b/irqbalance.init
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #
+-# Copyright (c) 2012 Wind River Systems, Inc.
++# Copyright (c) 2013 Wind River Systems, Inc

What is this ?, as far as I understand it, the script + recipe is proprietary licensed to windriver.

Quoted 4 lines

I see the windriver copyright notice was introduced with commit:
43b438f06897a390e16709b3f9e11355f325e2e9
I seem to remember that we agreed that all contents of meta-virtualization should be MIT.

I'm not a lawyer, but as far as I am aware MIT licensing does not preclude having a copyright owner; in fact the standard form of the MIT license text begins with a copyright statement.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
Quoted 51 lines · Paul Eggleton
Quoted 50 lines · On Tuesday 27 August 2013 09:32:24 David Nyström wrote:
Quoted 35 lines · Yang Shi

Add recipe for 1.0.6 version. And, add status and reload commands into init script.

---

  ...irqbalance-Add-status-and-reload-commands.patch |   55
  ++++++++++++++++++++ recipes-extended/irqbalance/irqbalance_1.0.6.bb
  |   15 +++++
  2 files changed, 70 insertions(+), 0 deletions(-)

create mode 100644 recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch create mode 100644 recipes-extended/irqbalance/irqbalance_1.0.6.bb>
diff --git a/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch b/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch new file mode 100644
index 0000000..d853d0b
--- /dev/null
+++
b/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +11 -1
-commands.patch @@ -0,0 +1,55 @@
+From dc7366896dd5a5bae82be4b11530bc9fdb7cbcdd Mon Sep 17 00:00:00 2001
+From: Yang Shi <[email protected]>
+Date: Mon, 26 Aug 2013 10:58:02 -0700
+Subject: [PATCH] irqbalance: Add status and reload commands
+
+Add status and reload commands for irqbalanced init script
+
+Signed-off-by: Yang Shi <[email protected]>
+---
+ irqbalance.init |   12 +++++++++---
+ 1 files changed, 9 insertions(+), 3 deletions(-)

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch

Quoted 10 lines
recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +10 -0
+
+diff --git a/irqbalance.init b/irqbalance.init
+index d12d62c..f58bf55 100644
+--- a/irqbalance.init
++++ b/irqbalance.init
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #
+-# Copyright (c) 2012 Wind River Systems, Inc.
++# Copyright (c) 2013 Wind River Systems, Inc

What is this ?, as far as I understand it, the script + recipe is proprietary licensed to windriver.

Quoted 8 lines
Quoted 4 lines

I see the windriver copyright notice was introduced with commit:
43b438f06897a390e16709b3f9e11355f325e2e9
I seem to remember that we agreed that all contents of meta-virtualization should be MIT.

I'm not a lawyer, but as far as I am aware MIT licensing does not preclude having a copyright owner; in fact the standard form of the MIT license text begins with a copyright statement.

Right. Copyright != proprietary. You see copyright on pretty much any type of licensed file, and I've seen plenty of MIT and GPL copyrighted files.

But otherwise, David is correct .. this should have gone to the meta-virtualization
list, not the yocto list.

Cheers,

Bruce

Quoted 12 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
author
#4 lore raw
Quoted 59 lines · Bruce Ashfield
Quoted 50 lines · Paul Eggleton
Quoted 49 lines · On Tuesday 27 August 2013 09:32:24 David Nyström wrote:
Quoted 35 lines · Yang Shi

Add recipe for 1.0.6 version. And, add status and reload commands into init script.

---

   ...irqbalance-Add-status-and-reload-commands.patch |   55
   ++++++++++++++++++++ recipes-extended/irqbalance/irqbalance_1.0.6.bb
   |   15 +++++
   2 files changed, 70 insertions(+), 0 deletions(-)

create mode 100644 recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch create mode 100644 recipes-extended/irqbalance/irqbalance_1.0.6.bb>
diff --git a/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch b/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload -commands.patch new file mode 100644
index 0000000..d853d0b
--- /dev/null
+++
b/recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +11 -1
-commands.patch @@ -0,0 +1,55 @@
+From dc7366896dd5a5bae82be4b11530bc9fdb7cbcdd Mon Sep 17 00:00:00 2001
+From: Yang Shi <[email protected]>
+Date: Mon, 26 Aug 2013 10:58:02 -0700
+Subject: [PATCH] irqbalance: Add status and reload commands
+
+Add status and reload commands for irqbalanced init script
+
+Signed-off-by: Yang Shi <[email protected]>
+---
+ irqbalance.init |   12 +++++++++---
+ 1 files changed, 9 insertions(+), 3 deletions(-)

recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch

Quoted 10 lines
recipes-extended/irqbalance/irqbalance/irqbalance-Add-status-and-reload-commands.patch new file +10 -0
+
+diff --git a/irqbalance.init b/irqbalance.init
+index d12d62c..f58bf55 100644
+--- a/irqbalance.init
++++ b/irqbalance.init
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+ #
+-# Copyright (c) 2012 Wind River Systems, Inc.
++# Copyright (c) 2013 Wind River Systems, Inc

What is this ?, as far as I understand it, the script + recipe is proprietary licensed to windriver.

Quoted 7 lines
Quoted 4 lines

I see the windriver copyright notice was introduced with commit:
43b438f06897a390e16709b3f9e11355f325e2e9
I seem to remember that we agreed that all contents of meta-virtualization should be MIT.

I'm not a lawyer, but as far as I am aware MIT licensing does not preclude having a copyright owner; in fact the standard form of the MIT license text begins with a copyright statement.

Quoted 6 lines

Right. Copyright != proprietary. You see copyright on pretty much any type of licensed file, and I've seen plenty of MIT and GPL copyrighted files.

But otherwise, David is correct .. this should have gone to the meta-virtualization
list, not the yocto list.

Thanks guys. I will resend the patch to meta-virtulization list.

Yang

Quoted 20 lines

Cheers,

Bruce

Quoted 11 lines

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto