From fb4bf48db5e1a3bed0ef9e490656357c70ae2088 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 29 Apr 2006 22:16:05 +0000 Subject: Install depmod-2.4 and depmod-2.6 in cross staging instead of plain depmod so 2.4 and 2.6 kernel builds can coexist with multimachine (bug 581) --- packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/linux') diff --git a/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb b/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb index 5e562798de..76e1769e31 100644 --- a/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb +++ b/packages/linux/mnci-ramses_2.4.21-rmk2-pxa1.bb @@ -58,7 +58,7 @@ pkg_postinst_kernel () { pkg_postinst_modules () { if [ -n "$D" ]; then - ${HOST_PREFIX}depmod -A -b $D -F $D/boot/System.map-${PV} ${KERNEL_VERSION} + ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F $D/boot/System.map-${PV} ${KERNEL_VERSION} else depmod -A fi -- cgit v1.2.3