Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5D246E00BF7; Thu, 8 Jun 2017 07:34:04 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,URI_HEX autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [195.74.38.227 listed in list.dnswl.org] * 1.1 URI_HEX URI: URI hostname has long hexadecimal sequence * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from bin-vsp-out-01.atm.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E3191E00C2B for ; Thu, 8 Jun 2017 07:33:54 -0700 (PDT) X-Halon-ID: 7d143574-4c57-11e7-b75a-005056917a89 Authorized-sender: petter@technux.se Received: from webmail.binero.se (unknown [195.74.38.9]) by bin-vsp-out-01.atm.binero.net (Halon Mail Gateway) with ESMTPA; Thu, 8 Jun 2017 16:33:49 +0200 (CEST) MIME-Version: 1.0 Date: Thu, 08 Jun 2017 16:33:49 +0200 From: =?UTF-8?Q?Petter_Mab=C3=A4cker?= To: Andrei Gherzan , Khem Raj Organization: Technux Mail-Reply-To: In-Reply-To: References: <1496870111-31944-1-git-send-email-petter@technux.se> Message-ID: <81912b53688991e9d8aaaf7ae8c4a7ac@technux.se> X-Sender: petter@technux.se User-Agent: Binero Webmail/0.8.4 Cc: yocto@yoctoproject.org Subject: Re: [meta-raspberrypi][PATCH] pi-blaster: update to include proper rpi3 support X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: petter@technux.se List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 14:34:04 -0000 Content-Type: multipart/alternative; boundary="=_6d1843649bb8a89a2465da1106e8ee00" --=_6d1843649bb8a89a2465da1106e8ee00 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 2017-06-08 11:53 skrev Andrei Gherzan: > On Thu, Jun 8, 2017 at 5:22 AM, Khem Raj wrote: > >> On Wed, Jun 7, 2017 at 9:09 PM, Petter Mabäcker wrote: >> > 2017-06-08 00:54 skrev Khem Raj: >> > >> > >> > On Wed, Jun 7, 2017 at 2:17 PM Petter Mabäcker wrote: >> >> >> >> Update to latest available revision, in order to include proper rpi3 >> >> support as well as latest fixes. >> >> >> >> Signed-off-by: Petter Mabäcker >> >> --- >> >> .../files/remove-initscript-lsb-dependency.patch | 37 >> >> ++++++++++++++++------ >> >> recipes-devtools/pi-blaster/pi-blaster.inc | 2 +- >> >> recipes-devtools/pi-blaster/pi-blaster_git.bb [1] | 2 +- >> >> 3 files changed, 30 insertions(+), 11 deletions(-) >> >> >> >> diff --git >> >> a/recipes-devtools/pi-blaster/files/remove-initscript-lsb-dependency.patch >> >> b/recipes-devtools/pi-blaster/files/remove-initscript-lsb-dependency.patch >> >> index 7ea9a3b..c8afe60 100644 >> >> --- >> >> a/recipes-devtools/pi-blaster/files/remove-initscript-lsb-dependency.patch >> >> +++ >> >> b/recipes-devtools/pi-blaster/files/remove-initscript-lsb-dependency.patch >> >> @@ -1,13 +1,28 @@ >> >> -Remove dependencies on LSB functions >> >> +From 1338f98a279616f4e5e9ea30a25d1dfa0c7df5d6 Mon Sep 17 00:00:00 2001 >> >> +From: =?UTF-8?q?Petter=20Mab=C3=A4cker?= >> >> +Date: Sun, 4 Jun 2017 12:22:40 +0200 >> >> +Subject: [PATCH] Remove dependencies on LSB functions >> >> +MIME-Version: 1.0 >> >> +Content-Type: text/plain; charset=UTF-8 >> >> +Content-Transfer-Encoding: 8bit >> >> + >> >> +See this as a rebase of the previous 'Remove dependencies on LSB >> >> +functions patch' with only minor modifications from the original version, >> >> +based on the work done by Alex Lennon in >> >> +'25fd817 pi-blaster: Added recipe'. >> >> >> >> Upstream-Status: Inappropriate [configuration] >> >> >> >> -Signed-off-by: Alex Lennon >> >> +Signed-off-by: Petter Mabäcker >> >> +--- >> >> + debian/pi-blaster.init | 38 +++++++------------------------------- >> >> + 1 file changed, 7 insertions(+), 31 deletions(-) >> >> >> >> -diff -ur git.org/pi-blaster.boot.sh [2] git/pi-blaster.boot.sh [3] >> >> ---- git.org/pi-blaster.boot.sh [2] 2014-05-20 14:49:44.378582168 +0100 >> >> -+++ git/pi-blaster.boot.sh [3] 2014-05-20 14:51:08.330582386 +0100 >> >> -@@ -28,12 +28,12 @@ >> >> +diff --git a/debian/pi-blaster.init b/debian/pi-blaster.init >> >> +index b142d70..01a686c 100644 >> >> +--- a/debian/pi-blaster.init >> >> ++++ b/debian/pi-blaster.init >> >> +@@ -28,12 +28,12 @@ SCRIPTNAME=/etc/init.d/$NAME >> >> [ -r /etc/default/$NAME ] && . /etc/default/$NAME >> >> >> >> # Load the VERBOSE setting and other rcS variables >> >> @@ -22,7 +37,7 @@ diff -ur git.org/pi-blaster.boot.sh [2] >> >> git/pi-blaster.boot.sh [3] >> >> >> >> # >> >> # Function that starts the daemon/service >> >> -@@ -77,48 +77,23 @@ >> >> +@@ -77,48 +77,24 @@ do_stop() >> >> >> >> case "$1" in >> >> start) >> >> @@ -52,6 +67,7 @@ diff -ur git.org/pi-blaster.boot.sh [2] >> >> git/pi-blaster.boot.sh [3] >> >> # 'force-reload' alias >> >> # >> >> - log_daemon_msg "Restarting $DESC" "$NAME" >> >> ++ echo "Restarting $DESC" "$NAME" >> >> do_stop >> >> - case "$?" in >> >> - 0|1) >> >> @@ -67,11 +83,14 @@ diff -ur git.org/pi-blaster.boot.sh [2] >> >> git/pi-blaster.boot.sh [3] >> >> - log_end_msg 1 >> >> - ;; >> >> - esac >> >> -+ do_start >> >> ++ do_start >> >> ;; >> >> *) >> >> - echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >> >> >&2 >> >> -+ echo "Usage: $SCRIPTNAME {start|stop|restart}" >&2 >> >> ++ echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 >> >> exit 3 >> >> ;; >> >> esac >> >> +-- >> >> +1.9.1 >> >> + >> >> diff --git a/recipes-devtools/pi-blaster/pi-blaster.inc >> >> b/recipes-devtools/pi-blaster/pi-blaster.inc >> >> index a3beccc..a548957 100644 >> >> --- a/recipes-devtools/pi-blaster/pi-blaster.inc >> >> +++ b/recipes-devtools/pi-blaster/pi-blaster.inc >> >> @@ -2,7 +2,7 @@ DESCRIPTION = "This project enables PWM on the GPIO pins >> >> you request of a Raspbe >> >> HOMEPAGE = "https://github.com/sarfata/pi-blaster/ [4]" >> >> SECTION = "devel/libs" >> >> LICENSE = "MIT" >> >> -LIC_FILES_CHKSUM = >> >> "file://README.md;beginline=157;endline=170;md5=f20832f31126609af5a7bf2340014540" >> >> +LIC_FILES_CHKSUM = >> >> "file://README.md;beginline=212;endline=239;md5=a012868ef5f83b9f257af253d7cb07a3" >> > >> > >> > What changed here ? >> > >> > The license is added in the end of the README.md so in this case some >> > additional description + modifications earlier in the README.md caused the >> > license text to move place. When it comes to the license text I could only >> > find changes in whitespace and newlines. They seems to have been caused by >> > the pi-blaster commit: '0e1a1df Cleaning up the README' >> > >> > BR Petter >> > >> > $ diff -Naur ec5e1b4c.README.md [5] README.md | tail -n 38 >> > >> >> perfect add few lines to the commit message about this > > That would be nice. Agree, I will send a v2 with updated commit msg. Links: ------ [1] http://pi-blaster_git.bb [2] http://git.org/pi-blaster.boot.sh [3] http://pi-blaster.boot.sh [4] https://github.com/sarfata/pi-blaster/ [5] http://ec5e1b4c.README.md --=_6d1843649bb8a89a2465da1106e8ee00 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

2017-06-08 11:53 skrev Andrei Gherzan:

On Thu, Jun 8, 2017 at 5:22 AM, Khem Raj &= lt;raj.khem@gmail.com> = wrote:
On Wed, Jun 7, 2017 at 9:09 PM, Petter Mabäcker <= petter@technux.se> wrote:
= > 2017-06-08 00:54 skrev Khem Raj:
>
>
> On = Wed, Jun 7, 2017 at 2:17 PM Petter Mabäcker <petter@technux.se> wrote:
>>
>&g= t; Update to latest available revision, in order to include proper rpi3
>> support as well as latest fixes.
>>
>> = Signed-off-by: Petter Mabäcker <petter@technux.se>
>> ---
>>  .../fil= es/remove-initscript-lsb-dependency.patch   | 37
>> += +++++++++++++++------
>>  recipes-devtools/pi-blaster/pi-b= laster.inc         |  2 +-
>>&nbs= p; recipes-devtools/pi-blaster/pi-blas= ter_git.bb      |  2 +-
>>  3 file= s changed, 30 insertions(+), 11 deletions(-)
>>
>> = diff --git
>> a/recipes-devtools/pi-blaster/files/remove-initsc= ript-lsb-dependency.patch
>> b/recipes-devtools/pi-blaster/file= s/remove-initscript-lsb-dependency.patch
>> index 7ea9a3b..c8af= e60 100644
>> ---
>> a/recipes-devtools/pi-blaster/= files/remove-initscript-lsb-dependency.patch
>> +++
>&= gt; b/recipes-devtools/pi-blaster/files/remove-initscript-lsb-dependency.pa= tch
>> @@ -1,13 +1,28 @@
>> -Remove dependencies on= LSB functions
>> +From 1338f98a279616f4e5e9ea30a25d1dfa0c7df5d= 6 Mon Sep 17 00:00:00 2001
>> +From: =3D?UTF-8?q?Petter=3D20Mab= =3DC3=3DA4cker?=3D <petter@technux= =2Ese>
>> +Date: Sun, 4 Jun 2017 12:22:40 +0200
&g= t;> +Subject: [PATCH] Remove dependencies on LSB functions
>>= ; +MIME-Version: 1.0
>> +Content-Type: text/plain; charset=3DUT= F-8
>> +Content-Transfer-Encoding: 8bit
>> +
= >> +See this as a rebase of the previous 'Remove dependencies on LSB<= br /> >> +functions patch' with only minor modifications from the ori= ginal version,
>> +based on the work done by Alex Lennon <ajlennon@dynamicdevices.co= =2Euk> in
>> +'25fd817 pi-blaster: Added recipe'.
= >>
>>  Upstream-Status: Inappropriate [configuration= ]
>>
>> -Signed-off-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>=
>> +Signed-off-by: Petter Mabäcker <petter@technux.se>
>> +---
>= > + debian/pi-blaster.init | 38 +++++++------------------------------- >> + 1 file changed, 7 insertions(+), 31 deletions(-)
>= >
>> -diff -ur git.org/pi-blaster.boot.sh git/p= i-blaster.boot.sh
>> ---- git.org/pi-blaster.boot.sh 2014-05-20 14:49:44.378582168 += 0100
>> -+++ git/pi-blast= er.boot.sh     2014-05-20 14:51:08.330582386 +0100
= >> -@@ -28,12 +28,12 @@
>> +diff --git a/debian/pi-blast= er.init b/debian/pi-blaster.init
>> +index b142d70..01a686c 100= 644
>> +--- a/debian/pi-blaster.init
>> ++++ b/debi= an/pi-blaster.init
>> +@@ -28,12 +28,12 @@ SCRIPTNAME=3D/etc/in= it.d/$NAME
>>   [ -r /etc/default/$NAME ] && = =2E /etc/default/$NAME
>>
>>   # Load the= VERBOSE setting and other rcS variables
>> @@ -22,7 +37,7 @@ d= iff -ur git.org/pi-blaster.bo= ot.sh
>> git/pi-blast= er.boot.sh
>>
>>   #
>>&n= bsp;  # Function that starts the daemon/service
>> -@@ -77= ,48 +77,23 @@
>> +@@ -77,48 +77,24 @@ do_stop()
>><= br /> >>   case "$1" in
>>     s= tart)
>> @@ -52,6 +67,7 @@ diff -ur git.org/pi-blaster.boot.sh
>> git/pi-blaster.boot.sh
>> =        # 'force-reload' alias
>>  &nb= sp;      #
>>  -      log_da= emon_msg "Restarting $DESC" "$NAME"
>> ++      e= cho "Restarting $DESC" "$NAME"
>>        &n= bsp;do_stop
>>  -      case "$?" in
&= gt;>  -        0|1)
>> @@ -67,11 +8= 3,14 @@ diff -ur git.org/pi-b= laster.boot.sh
>> git/pi-blaster.boot.sh
>>  -        &= nbsp;     log_end_msg 1
>>  -     = ;         ;;
>>  -     = esac
>> -+      do_start
>> ++ = ;   do_start
>>         ;;
= >>     *)
>>  -      e= cho "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}"
>= ;> >&2
>> -+      echo "Usage: $SCRIPT= NAME {start|stop|restart}" >&2
>> ++     = echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
>>         exit 3
>>  &n= bsp;      ;;
>>   esac
>> = +--
>> +1.9.1
>> +
>> diff --git a/reci= pes-devtools/pi-blaster/pi-blaster.inc
>> b/recipes-devtools/pi= -blaster/pi-blaster.inc
>> index a3beccc..a548957 100644
= >> --- a/recipes-devtools/pi-blaster/pi-blaster.inc
>> ++= + b/recipes-devtools/pi-blaster/pi-blaster.inc
>> @@ -2,7 +2,7 = @@ DESCRIPTION =3D "This project enables PWM on the GPIO pins
>>= ; you request of a Raspbe
>>  HOMEPAGE =3D "https://github.com/sarfata/pi-blaster/= "
>>  SECTION =3D "devel/libs"
>>  LI= CENSE =3D "MIT"
>> -LIC_FILES_CHKSUM =3D
>> "file:/= /README.md;beginline=3D157;endline=3D170;md5=3Df20832f31126609af5a7bf234001= 4540"
>> +LIC_FILES_CHKSUM =3D
>> "file://README.md= ;beginline=3D212;endline=3D239;md5=3Da012868ef5f83b9f257af253d7cb07a3"
>
>
> What changed here ?
>
> The = license is added in the end of the README.md so in this case some
>= ; additional description + modifications earlier in the README.md caused th= e
> license text to move place. When it comes to the license text = I could only
> find changes in whitespace and newlines. They seems= to have been caused by
> the pi-blaster commit: '0e1a1df Cleaning= up the README'
>
> BR Petter
>
> $ dif= f -Naur ec5e1b4c.README.md README= =2Emd | tail -n 38
>

perfect add few lines to the commit message about this
 
That would be nice. 

Agree, I will send a v2 with updated commit msg.

--=_6d1843649bb8a89a2465da1106e8ee00--