[OE-core] [PATCH V4 09/10] irda-utils: fix for read-only rootfs

Chris Larson clarson at kergoth.com
Wed Aug 7 14:18:12 UTC 2013


On Wed, Aug 7, 2013 at 1:08 AM, <Qi.Chen at windriver.com> wrote:

> From: Chen Qi <Qi.Chen at windriver.com>
>
> The init script for irda writes configuration items to /etc/sysconfig/irda
> if that file is not available in system. But it's actually not necessary,
> the behavior doesn't change whether the init script writes to the file or
> not.
>
> Considering it issues error messages in case of a read-only rootfs, I
> delete
> the writing process.
>
> [YOCTO #4103]
> [YOCTO #4886]
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
>

This is a start, but is incomplete, from what I can tell. As mentioned in
the other thread, the startup script shouldn't be using /etc/sysconfig/ at
all, in any form. We use /etc/default/ for our startup script config files,
not /etc/sysconfig/. Also, the purpose of this block was clearly to
implement a default configuration, yet the recipe isn't altered to ship a
default configuration to provide equivalent functionality.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130807/f2081b25/attachment-0002.html>


More information about the Openembedded-core mailing list