[oe-commits] Koen Kooi : linux.inc: extend UDEV_GE_141 config munging logic to match official udev guidelines

git version control git at git.openembedded.org
Sun Feb 14 13:06:34 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: b6a63dbf5a87845bab6ce774277bc3287b4d9a89
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b6a63dbf5a87845bab6ce774277bc3287b4d9a89

Author: Koen Kooi <koen at openembedded.org>
Date:   Sun Feb  7 16:50:58 2010 +0100

linux.inc: extend UDEV_GE_141 config munging logic to match official udev guidelines

---

 recipes/linux/linux.inc |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index ed96ce6..7405c08 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -116,9 +116,32 @@ do_configure_prepend() {
         if [ "${UDEV_GE_141}" = "1" ] ; then
             sed -e /CONFIG_SYSFS_DEPRECATED/d \
                 -e /CONFIG_SYSFS_DEPRECATED_V2/d \
+                -e /CONFIG_HOTPLUG/d \
+                -e /CONFIG_UEVENT_HELPER_PATH/d \
+                -e /CONFIG_UNIX/d \
+                -e /CONFIG_SYSFS/d \
+                -e /CONFIG_PROC_FS/d \
+                -e /CONFIG_TMPFS/d \
+                -e /CONFIG_INOTIFY_USER/d \
+                -e /CONFIG_SIGNALFD/d \
+                -e /CONFIG_TMPFS_POSIX_ACL/d \
+                -e /CONFIG_BLK_DEV_BSG/d \
                 -i '${S}/.config'
+
             echo '# CONFIG_SYSFS_DEPRECATED is not set' >> ${S}/.config
             echo '# CONFIG_SYSFS_DEPRECATED_V2 is not set' >> ${S}/.config
+            echo 'CONFIG_HOTPLUG=y' >> ${S}/.config
+            echo 'CONFIG_UEVENT_HELPER_PATH=""' >> ${S}/.config
+            echo 'CONFIG_UNIX=y' >> ${S}/.config
+            echo 'CONFIG_SYSFS=y' >> ${S}/.config
+            echo 'CONFIG_PROC_FS=y' >> ${S}/.config
+            echo 'CONFIG_TMPFS=y' >> ${S}/.config
+            echo 'CONFIG_INOTIFY_USER=y' >> ${S}/.config
+            echo 'CONFIG_SIGNALFD=y' >> ${S}/.config
+            echo 'CONFIG_TMPFS_POSIX_ACL=y' >> ${S}/.config
+            echo 'CONFIG_BLK_DEV_BSG=y' >> ${S}/.config
+            echo 'CONFIG_DEVTMPFS=y' >> ${S}/.config
+            echo 'CONFIG_DEVTMPFS_MOUNT=y' >> ${S}/.config
         fi
 
         #





More information about the Openembedded-commits mailing list