[meta-freescale] [meta-fsl-ppc][PATCH] Enable "the option Automount devtmpfs at /dev" in kernel

b40290 at freescale.com b40290 at freescale.com
Wed Apr 10 22:53:34 PDT 2013


From: Chunrong Guo <B40290 at freescale.com>

        *fix bug #3452
        |udev error: can not mount harddisk and usb stick
        *fix bug #3837
        |System can not boot
Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 recipes-kernel/linux/linux-qoriq-sdk.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb
index 1971f15..4efc934 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.bb
+++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
@@ -8,12 +8,14 @@ LICENSE = "GPLv2"
 
 require recipes-kernel/linux/linux-qoriq-sdk.inc
 
-PR = "r9"
+PR = "r10"
 
 SRC_URI += "file://fix_getrusage_for_perf.patch \
            "
 
 do_configure_prepend() {
 	# copy desired defconfig so we pick it up for the real kernel_do_configure
-	cp ${KERNEL_DEFCONFIG} ${B}/.config
+        # cp ${KERNEL_DEFCONFIG} ${B}/.config
+        sed '/CONFIG_DEVTMPFS/a\CONFIG_DEVTMPFS_MOUNT=y' ${KERNEL_DEFCONFIG} > kernelconfig
+        cp kernelconfig ${B}/.config
 }
-- 
1.7.5.4





More information about the meta-freescale mailing list