summaryrefslogtreecommitdiff
path: root/packages/modutils/modutils_2.4.27.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/modutils/modutils_2.4.27.bb')
-rw-r--r--packages/modutils/modutils_2.4.27.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/modutils/modutils_2.4.27.bb b/packages/modutils/modutils_2.4.27.bb
index 17fbb2f44d..f878e6869b 100644
--- a/packages/modutils/modutils_2.4.27.bb
+++ b/packages/modutils/modutils_2.4.27.bb
@@ -23,9 +23,9 @@ export BUILDCFLAGS = "${BUILD_CFLAGS}"
do_install () {
oe_runmake 'DESTDIR=${D}' install
install -d ${D}/${sysconfdir}
- rm ${D}/sbin/lsmod
- install -d ${D}/bin/
- ln -s ../sbin/insmod ${D}/bin/lsmod
+ rm ${D}/${base_sbindir}/lsmod
+ install -d ${D}/${base_bindir}/
+ ln -s ../sbin/insmod ${D}/${base_bindir}/lsmod
for f in bin/lsmod sbin/insmod sbin/rmmod sbin/modprobe sbin/modinfo sbin/depmod; do mv ${D}/$f ${D}/$f.24
done
}