[OE-core] [PATCH] util-linux: Ensure that ${sbindir} is respected

Khem Raj raj.khem at gmail.com
Mon Sep 24 00:30:34 UTC 2012


On Sun, Sep 23, 2012 at 10:46 AM, Phil Blundell <philb at gnu.org> wrote:
> On Sun, 2012-09-23 at 10:31 -0700, Khem Raj wrote:
>> On Sat, Sep 22, 2012 at 9:24 AM, Phil Blundell <philb at gnu.org> wrote:
>> > The configure script uses a hard-coded value for ${usrsbin_execdir},
>> > which is the path that we know as ${sbindir}.  Adjust configure to take
>> > this from the environment if it's set there, and have do_configure()
>> > pass it in.
>>
>> I think our expectation is same as what the configure is defining
>> which is sbin dir under exec_prefix
>
> Well, that might be your expectation, but it isn't necessarily what the
> user has configured.  There is no guarantee that ${sbindir} will be set
> to that particular value, and the recipes ought to respect what it is,
> in fact, set to.

then is it only sbindir or also bindir and so on that needs this kind
of patching and is it just util-linux or other some other packages as
well? Generally if you changed exec_prefix it was enough
to e.g. flatten out /usr and this case here will work without change
if you changed exec_prefix

>
> p.
>
>




More information about the Openembedded-core mailing list