[OE-core] [PATCH 2/8] initscripts: add setup-commands.sh
Mark Hatle
mark.hatle at windriver.com
Mon Nov 11 16:15:47 UTC 2013
On 11/11/13, 6:12 AM, Burton, Ross wrote:
> On 11 November 2013 02:52, ChenQi <Qi.Chen at windriver.com> wrote:
>> The problem here is that the init scripts under /etc/rcS.d/ need to execute
>> commands like awk, dirname, and readlink which are from /usr.
>
> Yes. So why do you really need to support split /usr, and why isn't
> an initramfs a suitable alternative? People seem to insist that split
> /usr is trivial but these patches are clearly showing it's not.
Just to be clear, I've never said it was trivial -- but what I have said is that
it -should- be trivial if people pay attention to this stuff early.
The only thing that has to be done for the split is 'early boot'. (See my email
response to Phil..)
As for why, we still have people developing systems with small per-device memory
that need to do the early boot from a small system, then mount the /usr
partition from a shared location. (/usr is often times still mounted RO.. and
is shared between multiple CPUs within a single device or chasis.)
The usage of this is getting less and less, but we do still get issues from
customers when things don't work right, so we know people are still doing it.
--Mark
> Ross
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list