[OE-core] [PATCH 2/8] initscripts: add setup-commands.sh

Phil Blundell pb at pbcl.net
Mon Nov 11 14:49:39 UTC 2013


On Mon, 2013-11-11 at 20:40 +0800, ChenQi wrote:
> Hi Phil,
> 
> First of all, thank you for your careful review and explanation.
> To conclude, you suggest modifying the init scripts and moving commands 
> around if needed, right?

Well, I'm not sure that I'm necessarily suggesting any particular
change.  What I'm saying is that if we're going to try to solve the
split-/usr problem in oe-core (as opposed to Wind River just doing it in
their internal distro layers) then:

1. It needs to be done in a way that doesn't have any negative impact
for people who don't have a split /usr (or indeed who don't have /usr at
all)

2. The changes need to be presented as a coherent package with the
reasoning clearly explained.

3. We need to be clear that it's solving the "whole problem" (whatever
that might be) rather than just some part of it. 

> Could you please share your configuration so that when I make V2 I can 
> test the case of ${bindir} and ${base_bindir} being the same.
> (Currently I really can't build out an image with such configuration ... )

I think it should basically just be a case of setting:

prefix = ""
exec_prefix = ""
prefix_native = ""

in your distro configuration.

p.





More information about the Openembedded-core mailing list