diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-06 21:35:08 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-06 21:35:08 +0000 |
commit | 2b8bf9a4ee5fc18fe45a1904f0fdb22a468906c2 (patch) | |
tree | 7eb0e9dcb513191788ecd02b94ef8c4937c3f4db | |
parent | 61d1252145742cabfa2f24c41bc08e676c836323 (diff) |
Fix the depmod call at image creation time for devices that dont install the 'kernel' package into the rootfs (i.e. zauruses, nslu2, etc).
BKrev: 418d438cbK5AKxttF5jD1H4yZrwpCw
-rw-r--r-- | classes/kernel.oeclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass index fc769fac5b..beaace7d16 100644 --- a/classes/kernel.oeclass +++ b/classes/kernel.oeclass @@ -77,6 +77,7 @@ kernel_do_stage() { cp -fR scripts ${STAGING_KERNEL_DIR}/ cp -fR include/config* ${STAGING_KERNEL_DIR}/include/ install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} + install -m 0644 System.map ${STAGING_KERNEL_DIR}/System.map-${PV} } kernel_do_install() { @@ -117,7 +118,7 @@ FILES_kernel = "/boot" pkg_postinst_modules () { if [ -n "$D" ]; then - ${HOST_PREFIX}depmod -A -b $D -F $D/boot/System.map-${PV} ${KERNEL_VERSION} + ${HOST_PREFIX}depmod -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${PV} ${KERNEL_VERSION} else depmod -A update-modules || true |