]> code.ossystems Code Review - meta-freescale.git/commitdiff
udev: do not automount block devices for fslmachines
authorChunrong Guo <b40290@freescale.com>
Fri, 14 Sep 2012 06:08:56 +0000 (14:08 +0800)
committerMatthew McClintock <msm@freescale.com>
Wed, 19 Sep 2012 16:38:34 +0000 (11:38 -0500)
    kernel can’t boot up with extend partition in HDD
    FILESEXTRAPATHS_prepend is the right variable to extend file search path,
    this is applied for fsl ppc targets

Signed-off-by: Chunrong Guo <b40290@freescale.com>
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
meta-fsl-ppc/recipes-append/udev/files/local.rules
meta-fsl-ppc/recipes-append/udev/udev_164.bbappend

index 9c134efa006e74b27fcb001053b4f18ac88312cc..43034b83f68854afbe5a7c8aacdeae11566219c7 100644 (file)
@@ -15,6 +15,8 @@
 
 KERNEL=="nbd*", GOTO="persistent_storage_end"
 
+SUBSYSTEM=="block", ENV{DEVTYPE}=="partition", GOTO="nomountblock"
+
 # Media automounting
 SUBSYSTEM=="block", ACTION=="add"    RUN+="/etc/udev/scripts/mount.sh"
 SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
@@ -37,3 +39,4 @@ SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1
 
 LABEL="persistent_storage_end"
 
+LABEL="nomountblock"
index 17988f1fed63e4aa703384e0d8f710f79966f29e..f15533ba75c883d932cfa06085985fb0f330dda0 100644 (file)
@@ -1,4 +1,3 @@
-FILEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
-
-PR_fsl .= "+${DISTRO}.0"
+FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
 
+PR_fsl .= "+${DISTRO}.1"