From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] Add dependency on bash to gzip for runtime
Date: Sun, 20 Sep 2015 14:35:53 +0300 [thread overview]
Message-ID: <20150920113553.GH2782@tarshish> (raw)
In-Reply-To: <20150920131647.7ab94a04@free-electrons.com>
Hi Thomas,
On Sun, Sep 20, 2015 at 01:16:47PM +0200, Thomas Petazzoni wrote:
> On Sun, 20 Sep 2015 12:39:31 +0200, Arnout Vandecappelle wrote:
> > > There's some logic in the skeleton package that guarantees that /bin/sh
> > > points to the system shell selected by the user in his configuration.
> > > So forcing /bin/sh as the shebang should be fine.
> >
> > Well, if the scripts indeed require Bourne extensions, then possibly ash and
> > dash will not work... And I have no idea about zsh either.
>
> I think Baruch said he had tried, and the script were working fine with
> the Busybox shell.
I only tried zgrep. But as I said, all these scripts look pretty trivial, and
I can't find any mention of shell dependencies in gzip sources. On Debian all
of these scrips use the /bin/sh shebang, and AFAIK Debian does not guarantee
/bin/sh to point to bash. I think we can safely assume that any POSIX-like
shell will work.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
prev parent reply other threads:[~2015-09-20 11:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-17 14:46 [Buildroot] [PATCH 1/2] Add dependency on bash to gzip for runtime Jonathan Ben-Avraham
2015-09-17 14:46 ` [Buildroot] [PATCH 2/2] Add dependency on gzip to lxc " Jonathan Ben-Avraham
2015-09-17 15:03 ` Baruch Siach
2015-09-17 15:20 ` Jonathan Ben Avraham
2015-09-17 17:16 ` Thomas Petazzoni
2015-09-17 15:01 ` [Buildroot] [PATCH 1/2] Add dependency on bash to gzip " Baruch Siach
2015-09-17 15:16 ` Jonathan Ben Avraham
2015-09-17 16:20 ` Baruch Siach
2015-09-17 16:33 ` Jonathan Ben Avraham
2015-09-17 17:23 ` Thomas Petazzoni
2015-09-17 19:04 ` Baruch Siach
2015-09-17 20:15 ` Thomas Petazzoni
2015-09-19 20:36 ` Jonathan Ben Avraham
2015-09-20 8:22 ` Thomas Petazzoni
2015-09-20 10:39 ` Arnout Vandecappelle
2015-09-20 11:16 ` Thomas Petazzoni
2015-09-20 11:35 ` Baruch Siach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150920113553.GH2782@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox