diff options
Diffstat (limited to 'meta/recipes-kernel')
-rwxr-xr-x | meta/recipes-kernel/update-modules/update-modules-1.0/openmn/update-modules | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/update-modules/update-modules_1.0.bb | 11 |
2 files changed, 1 insertions, 13 deletions
diff --git a/meta/recipes-kernel/update-modules/update-modules-1.0/openmn/update-modules b/meta/recipes-kernel/update-modules/update-modules-1.0/openmn/update-modules deleted file mode 100755 index 976161f141..0000000000 --- a/meta/recipes-kernel/update-modules/update-modules-1.0/openmn/update-modules +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | depmod -ae | ||
3 | exit 0 | ||
diff --git a/meta/recipes-kernel/update-modules/update-modules_1.0.bb b/meta/recipes-kernel/update-modules/update-modules_1.0.bb index a8ebbdaebd..336bca2e9b 100644 --- a/meta/recipes-kernel/update-modules/update-modules_1.0.bb +++ b/meta/recipes-kernel/update-modules/update-modules_1.0.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa | |||
5 | 5 | ||
6 | PACKAGE_ARCH = "all" | 6 | PACKAGE_ARCH = "all" |
7 | RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} " | 7 | RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} " |
8 | PR = "r8" | 8 | PR = "r9" |
9 | 9 | ||
10 | SRC_URI = "file://update-modules \ | 10 | SRC_URI = "file://update-modules \ |
11 | file://COPYING.GPL" | 11 | file://COPYING.GPL" |
@@ -22,12 +22,3 @@ do_install() { | |||
22 | install ${WORKDIR}/update-modules ${D}${sbindir} | 22 | install ${WORKDIR}/update-modules ${D}${sbindir} |
23 | } | 23 | } |
24 | 24 | ||
25 | # The Unslung distro uses a 2.4 kernel for a machine (the NSLU2) which | ||
26 | # supports both 2.4 and 2.6 kernels. Rather than forcing OE to have | ||
27 | # to deal with that unique legacy corner case, we just nullify the | ||
28 | # RDEPENDS_${PN} here and handle it in the Unslung image recipe. I know this | ||
29 | # is ugly. Please don't remove it unless you first make the RDEPENDS | ||
30 | # line at the top of this file understand that a machine can be used | ||
31 | # in both a 2.4 kernel distro and a 2.6 kernel distro. Really, it's | ||
32 | # not worth the effort to do that, so just overlook the next line. | ||
33 | RDEPENDS_unslung = "" | ||