From 36c4145a2b77a2f0551947433d140f1fe86704ed Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Fri, 14 Sep 2012 14:08:56 +0800 Subject: [PATCH] udev: do not automount block devices for fslmachines MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Zhenhua Luo --- meta-fsl-ppc/recipes-append/udev/files/local.rules | 3 +++ meta-fsl-ppc/recipes-append/udev/udev_164.bbappend | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-fsl-ppc/recipes-append/udev/files/local.rules b/meta-fsl-ppc/recipes-append/udev/files/local.rules index 9c134efa..43034b83 100644 --- a/meta-fsl-ppc/recipes-append/udev/files/local.rules +++ b/meta-fsl-ppc/recipes-append/udev/files/local.rules @@ -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" diff --git a/meta-fsl-ppc/recipes-append/udev/udev_164.bbappend b/meta-fsl-ppc/recipes-append/udev/udev_164.bbappend index 17988f1f..f15533ba 100644 --- a/meta-fsl-ppc/recipes-append/udev/udev_164.bbappend +++ b/meta-fsl-ppc/recipes-append/udev/udev_164.bbappend @@ -1,4 +1,3 @@ -FILEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" - -PR_fsl .= "+${DISTRO}.0" +FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PR_fsl .= "+${DISTRO}.1" -- 2.40.1