diff options
-rw-r--r-- | meta/classes/image.bbclass | 1 | ||||
-rw-r--r-- | meta/lib/oe/rootfs.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index f09bfeea27..b2a3e97820 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -66,6 +66,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}" | |||
66 | EXCLUDE_FROM_WORLD = "1" | 66 | EXCLUDE_FROM_WORLD = "1" |
67 | 67 | ||
68 | USE_DEVFS ?= "1" | 68 | USE_DEVFS ?= "1" |
69 | USE_DEPMOD ?= "1" | ||
69 | 70 | ||
70 | PID = "${@os.getpid()}" | 71 | PID = "${@os.getpid()}" |
71 | 72 | ||
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 19aef2a1de..f42a2ae7b3 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -124,7 +124,8 @@ class Rootfs(object): | |||
124 | 124 | ||
125 | self._run_ldconfig() | 125 | self._run_ldconfig() |
126 | 126 | ||
127 | self._generate_kernel_module_deps() | 127 | if self.d.getVar('USE_DEPMOD', True) != "0": |
128 | self._generate_kernel_module_deps() | ||
128 | 129 | ||
129 | self._cleanup() | 130 | self._cleanup() |
130 | 131 | ||