Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Set CONFIG_SHELL for xz and gzip
@ 2014-08-13  8:18 Robert Yang
  2014-08-13  8:18 ` [PATCH 1/2] xz: set CONFIG_SHELL to /bin/sh Robert Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Yang @ 2014-08-13  8:18 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 4321c553d5ae816e566234e981a0815bba046d39:

  SIGGEN_EXCLUDERECIPES_ABISAFE: add initscripts (2014-08-11 17:44:09 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/bash
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/bash

Robert Yang (2):
  xz: set CONFIG_SHELL to /bin/sh
  gzip: set CONFIG_SHELL to /bin/sh

 meta/recipes-extended/gzip/gzip.inc       |    2 ++
 meta/recipes-extended/xz/xz_5.1.3alpha.bb |    2 ++
 2 files changed, 4 insertions(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] xz: set CONFIG_SHELL to /bin/sh
  2014-08-13  8:18 [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang
@ 2014-08-13  8:18 ` Robert Yang
  2014-08-13  8:18 ` [PATCH 2/2] gzip: " Robert Yang
  2014-08-14 12:13 ` [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang
  2 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2014-08-13  8:18 UTC (permalink / raw)
  To: openembedded-core

It would be bash, sh, ksh or sh5 according to the host if we don't set
this, and its scripts don't have bashism as the checkbashisms shows.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-extended/xz/xz_5.1.3alpha.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/xz/xz_5.1.3alpha.bb b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
index b8501a5..168e383 100644
--- a/meta/recipes-extended/xz/xz_5.1.3alpha.bb
+++ b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
@@ -38,3 +38,5 @@ FILES_liblzma-staticdev = "${libdir}/liblzma.a"
 FILES_liblzma-dbg = "${libdir}/.debug/liblzma*"
 
 BBCLASSEXTEND = "native nativesdk"
+
+export CONFIG_SHELL="/bin/sh"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] gzip: set CONFIG_SHELL to /bin/sh
  2014-08-13  8:18 [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang
  2014-08-13  8:18 ` [PATCH 1/2] xz: set CONFIG_SHELL to /bin/sh Robert Yang
@ 2014-08-13  8:18 ` Robert Yang
  2014-08-14 12:13 ` [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang
  2 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2014-08-13  8:18 UTC (permalink / raw)
  To: openembedded-core

It would be bash, sh, ksh or sh5 according to the host if we don't set
this, and its scripts don't have bashism as the checkbashisms shows.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-extended/gzip/gzip.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index eeeafe0..671b1eb 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -30,3 +30,5 @@ ALTERNATIVE_${PN} = "gunzip gzip zcat"
 ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
 ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
 ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"
+
+export CONFIG_SHELL="/bin/sh"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Set CONFIG_SHELL for xz and gzip
  2014-08-13  8:18 [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang
  2014-08-13  8:18 ` [PATCH 1/2] xz: set CONFIG_SHELL to /bin/sh Robert Yang
  2014-08-13  8:18 ` [PATCH 2/2] gzip: " Robert Yang
@ 2014-08-14 12:13 ` Robert Yang
  2 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2014-08-14 12:13 UTC (permalink / raw)
  To: openembedded-core

I added grep's patch which is similar to xz and gzip to the repo,
so there should be 3 patches:

git://git.openembedded.org/openembedded-core-contrib rbt/bash


====== patch ======

grep: set CONFIG_SHELL to /bin/sh

It would be bash, sh, ksh or sh5 according to the host if we don't set
this, and its scripts don't have bashism as the checkbashisms shows.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
  meta/recipes-extended/grep/grep_2.19.bb   |    1 +
  meta/recipes-extended/grep/grep_2.5.1a.bb |    2 ++
  2 files changed, 3 insertions(+)

diff --git a/meta/recipes-extended/grep/grep_2.19.bb 
b/meta/recipes-extended/grep/grep_2.19.bb
index f38a9a6..9c162cc 100644
--- a/meta/recipes-extended/grep/grep_2.19.bb
+++ b/meta/recipes-extended/grep/grep_2.19.bb
@@ -36,3 +36,4 @@ ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep"
  ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep"
  ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep"

+export CONFIG_SHELL="/bin/sh"
diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb 
b/meta/recipes-extended/grep/grep_2.5.1a.bb
index 79842ba..1ce112e 100644
--- a/meta/recipes-extended/grep/grep_2.5.1a.bb
+++ b/meta/recipes-extended/grep/grep_2.5.1a.bb
@@ -47,3 +47,5 @@ ALTERNATIVE_${PN} = "grep egrep fgrep"
  ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep"
  ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep"
  ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep"
+
+export CONFIG_SHELL="/bin/sh"
-- 
1.7.9.5

// Robert


On 08/13/2014 04:18 PM, Robert Yang wrote:
> The following changes since commit 4321c553d5ae816e566234e981a0815bba046d39:
>
>    SIGGEN_EXCLUDERECIPES_ABISAFE: add initscripts (2014-08-11 17:44:09 +0100)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib rbt/bash
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/bash
>
> Robert Yang (2):
>    xz: set CONFIG_SHELL to /bin/sh
>    gzip: set CONFIG_SHELL to /bin/sh
>
>   meta/recipes-extended/gzip/gzip.inc       |    2 ++
>   meta/recipes-extended/xz/xz_5.1.3alpha.bb |    2 ++
>   2 files changed, 4 insertions(+)
>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-14 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13  8:18 [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang
2014-08-13  8:18 ` [PATCH 1/2] xz: set CONFIG_SHELL to /bin/sh Robert Yang
2014-08-13  8:18 ` [PATCH 2/2] gzip: " Robert Yang
2014-08-14 12:13 ` [PATCH 0/2] Set CONFIG_SHELL for xz and gzip Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox