All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: nfs-utils does NOT rdepend on bash
Date: Tue, 22 Apr 2014 08:10:06 +0200	[thread overview]
Message-ID: <535607BE.90003@topic.nl> (raw)
In-Reply-To: <535605FA.6080905@windriver.com>

On 04/22/2014 08:02 AM, ChenQi wrote:
> On 04/20/2014 01:44 AM, Mike Looijmans wrote:
>> To my surprise, a megabyte sized package "bash" was installed on target when
>> I installed nfs-utils to start the NFS server.
>>
>> Commit 664ae3dc52fd7fc8c6f64e6cf5e70f97dedd332d claims the package needs bash.
>>
>> It's simply not true. It does not require bash at all, it runs just fine
>> with busybox's ash shell for example.
>>
>
> How about the start-statd script?
> It begins with '#!/bin/bash -p'.
> If you de-bash it, I think we can remove the dependency.

I'll take a look, shouldn't be hard. And it is not required for the server 
anyway, so if the bashism can't be easily removed, I think start-statd should 
be moved into another package so that only that part will draw in the bash 
dependency.

I'll try to create separate patches, one "de-bash" patch, and one to fix and 
simplify the server startup script.



>> I don't understand the reasoning behind that commit. There's nothing in
>> nfs-utils that really needs bash, it runs fine without it.
>>
>>
>>
>> Also, there is an error in the startup script, I can submit a patch for that
>> if you like. The script is needlessly complex too.
>>
>>
>



Met vriendelijke groet / kind regards,

Mike Looijmans

TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax:  (+31) (0) 499 33 69 70
E-mail: mike.looijmans@topic.nl
Website: www.topic.nl

Please consider the environment before printing this e-mail

Bezoek ons op 7 en 8 mei tijdens High-Tech Systems Den Bosch (stand 24)
http://www.hightechsystems.nl



      reply	other threads:[~2014-04-22  6:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19 17:44 nfs-utils does NOT rdepend on bash Mike Looijmans
2014-04-22  6:02 ` ChenQi
2014-04-22  6:10   ` Mike Looijmans [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=535607BE.90003@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.