diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 116e10b9de..a455164649 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -271,13 +271,13 @@ fi | |||
271 | if [ -n "$D" ]; then | 271 | if [ -n "$D" ]; then |
272 | depmod -a -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION} | 272 | depmod -a -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION} ${KERNEL_VERSION} |
273 | else | 273 | else |
274 | depmod -a | 274 | depmod -a ${KERNEL_VERSION} |
275 | fi | 275 | fi |
276 | } | 276 | } |
277 | 277 | ||
278 | pkg_postinst_modules () { | 278 | pkg_postinst_modules () { |
279 | if [ -z "$D" ]; then | 279 | if [ -z "$D" ]; then |
280 | depmod -a | 280 | depmod -a ${KERNEL_VERSION} |
281 | update-modules || true | 281 | update-modules || true |
282 | fi | 282 | fi |
283 | } | 283 | } |