* [meta-fsl-ppc][PATCH] udev-qoriq-rules: avoid failure in universe fetch
@ 2015-12-18 3:26 ting.liu
2015-12-18 12:00 ` Otavio Salvador
0 siblings, 1 reply; 2+ messages in thread
From: ting.liu @ 2015-12-18 3:26 UTC (permalink / raw)
To: meta-freescale
From: Ting Liu <ting.liu@freescale.com>
The autobuilder does a universe fetch with the meta-fsl-*
layers enabled, and this causes errors when MACHINE=qemux86.
* not put the patches to a machine-specific location
* remove the useless automount.rules
Fix Bug 8802.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
---
.../71-fsl-dpaa-persistent-networking.rules | 0
.../72-fsl-dpaa-persistent-networking.rules | 0
.../udev-rules-qoriq/qoriq-ppc/automount.rules | 23 ----------------------
3 files changed, 23 deletions(-)
rename recipes-core/udev/udev-rules-qoriq/{qoriq-ppc => }/71-fsl-dpaa-persistent-networking.rules (100%)
rename recipes-core/udev/udev-rules-qoriq/{qoriq-ppc => }/72-fsl-dpaa-persistent-networking.rules (100%)
delete mode 100644 recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules
diff --git a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/71-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules
similarity index 100%
rename from recipes-core/udev/udev-rules-qoriq/qoriq-ppc/71-fsl-dpaa-persistent-networking.rules
rename to recipes-core/udev/udev-rules-qoriq/71-fsl-dpaa-persistent-networking.rules
diff --git a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/72-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules
similarity index 100%
rename from recipes-core/udev/udev-rules-qoriq/qoriq-ppc/72-fsl-dpaa-persistent-networking.rules
rename to recipes-core/udev/udev-rules-qoriq/72-fsl-dpaa-persistent-networking.rules
diff --git a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules b/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules
deleted file mode 100644
index a47efda..0000000
--- a/recipes-core/udev/udev-rules-qoriq/qoriq-ppc/automount.rules
+++ /dev/null
@@ -1,23 +0,0 @@
-# There are a number of modifiers that are allowed to be used in some
-# of the different fields. They provide the following subsitutions:
-#
-# %n the "kernel number" of the device.
-# For example, 'sda3' has a "kernel number" of '3'
-# %e the smallest number for that name which does not matches an existing node
-# %k the kernel name for the device
-# %M the kernel major number for the device
-# %m the kernel minor number for the device
-# %b the bus id for the device
-# %c the string returned by the PROGRAM
-# %s{filename} the content of a sysfs attribute
-# %% the '%' char itself
-#
-
-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"
-
-LABEL="automount_end"
-
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-fsl-ppc][PATCH] udev-qoriq-rules: avoid failure in universe fetch
2015-12-18 3:26 [meta-fsl-ppc][PATCH] udev-qoriq-rules: avoid failure in universe fetch ting.liu
@ 2015-12-18 12:00 ` Otavio Salvador
0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2015-12-18 12:00 UTC (permalink / raw)
To: Liu Ting-B28495; +Cc: meta-freescale
On Fri, Dec 18, 2015 at 1:26 AM, <ting.liu@freescale.com> wrote:
> From: Ting Liu <ting.liu@freescale.com>
>
> The autobuilder does a universe fetch with the meta-fsl-*
> layers enabled, and this causes errors when MACHINE=qemux86.
>
> * not put the patches to a machine-specific location
> * remove the useless automount.rules
>
> Fix Bug 8802.
Right format is:
Fix [YOCTO: #8802]
> Signed-off-by: Ting Liu <ting.liu@freescale.com>
The fix imposed is wrong. The right thing to do is to add
COMPATIBLE_MACHINE = "(qoriq)"
So the recipe is skipped when running on another machine type. The
fetchall tests are ran using qemux86 IIRC.
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-18 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 3:26 [meta-fsl-ppc][PATCH] udev-qoriq-rules: avoid failure in universe fetch ting.liu
2015-12-18 12:00 ` Otavio Salvador
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.