[oe] [PATCH 05/12] Add alternatives to patch

Martyn Welch martyn.welch at ge.com
Tue Mar 23 10:49:09 UTC 2010

Marcin Juszkiewicz wrote:
> Dnia poniedziałek, 22 marca 2010 o 10:35:06 Martyn Welch napisał(a):
>> This adds an alternatives link for /bin/sh to the bash package. When
>> installed this will make bash overide the busybox provided shell for
>> "/bin/sh". This may or may not be desirable, but including it does allow an
>> image to be provided without busybox.
> update-alternatives is shell script so we can end in shellless system ;(
> Regards, 

Hm, hadn't appreciated that.

I'd assumed that this was the same as the update-alternatives used in
Debian, but looking in the relevant recipes directory I now appreciate
that this probably isn't the case. It looks like the "dpkg" version is
perl rather than shell and I assume it doesn't have the same problem
because perl isn't managed though the alternatives system. I suspect
there may be only one provider of perl...


Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch at ge.com                        |   M2 3AB  VAT:GB 927559189

More information about the Openembedded-devel mailing list