Patchwork [meta-fsl-ppc,v2,1/6] sysvinit: remove SDK specific bits

login
register
mail settings
Submitter Ting Liu
Date March 8, 2013, 9:42 a.m.
Message ID <1362735743-11318-1-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/45701/
State Superseded
Delegated to: Otavio Salvador
Headers show

Comments

Ting Liu - March 8, 2013, 9:42 a.m.
From: Ting Liu <b28495@freescale.com>

This is fsl SDK specific, and was recommended to go to SDK layer:
http://patches.openembedded.org/patch/34623/

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 .../sysvinit/files/auto-detect-hostname.patch      |   16 ----------------
 recipes-append/sysvinit/sysvinit_2.88dsf.bbappend  |    5 +----
 2 files changed, 1 insertions(+), 20 deletions(-)
 delete mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
Otavio Salvador - March 8, 2013, 1:33 p.m.
On Fri, Mar 8, 2013 at 6:42 AM,  <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> This is fsl SDK specific, and was recommended to go to SDK layer:
> http://patches.openembedded.org/patch/34623/
>
> Signed-off-by: Ting Liu <b28495@freescale.com>

Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Matthew McClintock - March 8, 2013, 11:47 p.m.
On Fri, Mar 8, 2013 at 3:42 AM,  <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> This is fsl SDK specific, and was recommended to go to SDK layer:
> http://patches.openembedded.org/patch/34623/
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
>  .../sysvinit/files/auto-detect-hostname.patch      |   16 ----------------
>  recipes-append/sysvinit/sysvinit_2.88dsf.bbappend  |    5 +----
>  2 files changed, 1 insertions(+), 20 deletions(-)
>  delete mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
>
> diff --git a/recipes-append/sysvinit/files/auto-detect-hostname.patch b/recipes-append/sysvinit/files/auto-detect-hostname.patch
> deleted file mode 100644
> index da70184..0000000
> --- a/recipes-append/sysvinit/files/auto-detect-hostname.patch
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -diff --git a/rcS b/rcS
> -index 080b04f..51425ff 100755
> ---- a/rcS
> -+++ b/rcS
> -@@ -22,6 +22,11 @@ export PATH runlevel prevlevel
> - . /etc/default/rcS
> -
> - #
> -+#       Update the hostname according to actual board type
> -+#
> -+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname
> -+
> -+#
> - #     Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
> - #
> - trap ":" INT QUIT TSTP
> diff --git a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
> index 9c9dc75..8445337 100644
> --- a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
> +++ b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
> @@ -1,5 +1,2 @@
> -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
> +PRINC := "${@int(PRINC) + 1}"

Otavio,

When can we drop this? When the version changes?

-M
Otavio Salvador - March 9, 2013, 11:57 a.m.
On Fri, Mar 8, 2013 at 8:47 PM, Matthew McClintock
<msm-oss@mcclintock.net> wrote:
> On Fri, Mar 8, 2013 at 3:42 AM,  <b28495@freescale.com> wrote:
>> From: Ting Liu <b28495@freescale.com>
>>
>> This is fsl SDK specific, and was recommended to go to SDK layer:
>> http://patches.openembedded.org/patch/34623/
>>
>> Signed-off-by: Ting Liu <b28495@freescale.com>
>> ---
>>  .../sysvinit/files/auto-detect-hostname.patch      |   16 ----------------
>>  recipes-append/sysvinit/sysvinit_2.88dsf.bbappend  |    5 +----
>>  2 files changed, 1 insertions(+), 20 deletions(-)
>>  delete mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
>>
>> diff --git a/recipes-append/sysvinit/files/auto-detect-hostname.patch b/recipes-append/sysvinit/files/auto-detect-hostname.patch
>> deleted file mode 100644
>> index da70184..0000000
>> --- a/recipes-append/sysvinit/files/auto-detect-hostname.patch
>> +++ /dev/null
>> @@ -1,16 +0,0 @@
>> -diff --git a/rcS b/rcS
>> -index 080b04f..51425ff 100755
>> ---- a/rcS
>> -+++ b/rcS
>> -@@ -22,6 +22,11 @@ export PATH runlevel prevlevel
>> - . /etc/default/rcS
>> -
>> - #
>> -+#       Update the hostname according to actual board type
>> -+#
>> -+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname
>> -+
>> -+#
>> - #     Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
>> - #
>> - trap ":" INT QUIT TSTP
>> diff --git a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
>> index 9c9dc75..8445337 100644
>> --- a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
>> +++ b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
>> @@ -1,5 +1,2 @@
>> -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
>> +PRINC := "${@int(PRINC) + 1}"
>
> Otavio,
>
> When can we drop this? When the version changes?

Yes; we can.

Patch

diff --git a/recipes-append/sysvinit/files/auto-detect-hostname.patch b/recipes-append/sysvinit/files/auto-detect-hostname.patch
deleted file mode 100644
index da70184..0000000
--- a/recipes-append/sysvinit/files/auto-detect-hostname.patch
+++ /dev/null
@@ -1,16 +0,0 @@ 
-diff --git a/rcS b/rcS
-index 080b04f..51425ff 100755
---- a/rcS
-+++ b/rcS
-@@ -22,6 +22,11 @@ export PATH runlevel prevlevel
- . /etc/default/rcS
- 
- #
-+#       Update the hostname according to actual board type
-+#
-+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname
-+
-+#
- #	Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
- #
- trap ":" INT QUIT TSTP
diff --git a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
index 9c9dc75..8445337 100644
--- a/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
+++ b/recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
@@ -1,5 +1,2 @@ 
-FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
+PRINC := "${@int(PRINC) + 1}"
 
-PR_fsl .= "+${DISTRO}.1"
-
-SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"