[meta-freescale] [meta-fsl-ppc][PATCH 1/2] udev-extraconf: add fsl specific rules back

Otavio Salvador otavio at ossystems.com.br
Wed Jan 21 06:11:51 PST 2015


On Wed, Jan 21, 2015 at 11:56 AM, zhenhua.luo at freescale.com
<zhenhua.luo at freescale.com> wrote:
> The line is already in oe-core, the meta-fsl-ppc layer includes a customized automount.sh that is based on oe-core version, the change is just sync the following change from oe-core.
>
> http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/udev/udev-extraconf/automount.rules?id=140d188b3665f914396834168feeff6ffcb64d76

We shouldn't duplicate the file in this case. Going deeper in the root
cause why this has been included in meta-fsl-ppc got a nice hint[1]

1. http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/commit/recipes-core/udev/udev-extraconf/qoriq-ppc/automount.rules?id=06c140cb72406b6d88140ca1085c20352ba193d4

and I think it has been dealt at OE-Core already:

commit 6a7aa9cac2fc128ffc9ea4416426335e06db345a
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Mon Apr 22 08:52:29 2013 -0300

    udev-extraconf: Avoid mounting unknown filesystems

    Depending on kernel version used, the system can hung when trying to
    mount the extended partition (not the logical one) as it is a holder
    for other partitions and does not have a filesystem in it.

    To avoid this to happen we just mount partitions when these are using
    known filesystems so it does not try to mount a partition for an
    unsupported filesystem.

    Reported-by: Vladan Jovanovic <vladan.jovanovic at gmail.com>
    Reported-by: Leonardo Sandoval Gonzalez <b42214 at freescale.com>
    (From OE-Core rev: 895c9685a7f95dc84786213f945895a504a16254)

    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    Tested-by: Vladan Jovanovic <vladan.jovanovic at gmail.com>
    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

Am I missing anything?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list