Hello, On Mon, Jan 19, 2015 at 7:44 AM, [email protected] <[email protected]> wrote: >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On Behalf >> Of Otavio Salvador >> Sent: Friday, January 16, 2015 7:41 PM >> To: Liu Ting-B28495 >> Cc: [email protected] >> 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, <[email protected]> wrote: >> > From: Ting Liu <[email protected]> >> > >> > 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 <[email protected]> >> > --- >> > 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 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
