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

Otavio Salvador otavio at ossystems.com.br
Mon Jan 19 02:52:40 PST 2015


Hello,

On Mon, Jan 19, 2015 at 7:44 AM, ting.liu at freescale.com
<ting.liu at freescale.com> wrote:
>> -----Original Message-----
>> From: otavio.salvador at gmail.com [mailto:otavio.salvador at gmail.com] On Behalf
>> Of Otavio Salvador
>> Sent: Friday, January 16, 2015 7:41 PM
>> To: Liu Ting-B28495
>> Cc: meta-freescale at yoctoproject.org
>> Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 1/2] udev-extraconf: add
>> fsl specific rules back
>>
>> Hello,
>>
>> On Fri, Jan 16, 2015 at 8:22 AM,  <ting.liu at freescale.com> wrote:
>> > From: Ting Liu <ting.liu at freescale.com>
>> >
>> > If both udev-extraconf and udev-rules-qoriq installed, file clashes
>> > will happen. move fsl specific rules back to udev-extraconf
>> >
>> > Signed-off-by: Ting Liu <ting.liu at freescale.com>
>> > ---
>> >  conf/machine/include/qoriq-base.inc                              | 2 +-
>> >  .../qoriq-ppc/automount.rules                                    | 1 +
>> >  recipes-core/udev/udev-extraconf_%.bbappend                      | 9
>> +++++++++
>> >  recipes-core/udev/udev-rules-qoriq.bb                            | 5 -----
>> >  4 files changed, 11 insertions(+), 6 deletions(-)  rename
>> > recipes-core/udev/{udev-rules-qoriq =>
>> > udev-extraconf}/qoriq-ppc/automount.rules (89%)  create mode 100644
>> > recipes-core/udev/udev-extraconf_%.bbappend
>> >
>> > diff --git a/conf/machine/include/qoriq-base.inc
>> > b/conf/machine/include/qoriq-base.inc
>> > index 35ca79c..acb4e83 100644
>> > --- a/conf/machine/include/qoriq-base.inc
>> > +++ b/conf/machine/include/qoriq-base.inc
>> > @@ -11,7 +11,7 @@ PREFERRED_VERSION_openssl = "1.0.1i"
>> >
>> >  # settings
>> >  MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
>> > -MACHINE_EXTRA_RRECOMMENDS += "udev-rules-qoriq kernel-modules"
>> > +MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-
>> modules"
>> >  MACHINEOVERRIDES .= ":qoriq-ppc"
>> >
>> >  IMAGE_CLASSES += "image_types_uboot"
>> > diff --git
>> > a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules
>> > b/recipes-core/udev/udev-extraconf/qoriq-ppc/automount.rules
>> > similarity index 89%
>> > rename from
>> > recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules
>> > rename to recipes-core/udev/udev-extraconf/qoriq-ppc/automount.rules
>> > index a47efda..e1d75d7 100644
>> > --- a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules
>> > +++ b/recipes-core/udev/udev-extraconf/qoriq-ppc/automount.rules
>> > @@ -18,6 +18,7 @@ SUBSYSTEM=="block", ENV{DEVTYPE}=="partition",
>> GOTO="automount_end"
>> >  # Media automounting
>> >  SUBSYSTEM=="block", ACTION=="add"    RUN+="/etc/udev/scripts/mount.sh"
>> >  SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
>> > +SUBSYSTEM=="block", ACTION=="change", ENV{DISK_MEDIA_CHANGE}=="1"
>> RUN+="/etc/udev/scripts/mount.sh"
>>
>> You can avoid this and add a new 'automount-qoriq.rules' file with this.
> [Liu Ting-B28495] will this file override automount.rules completely?
>
>>
>> But could you explain what DISK_MEDIA_CHANGE will handle?
> [Liu Ting-B28495] just sync with oe-core updates.

So I am not getting what the package is adding. Is it just the rpmd partitions?

-- 
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