summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-01-12 15:19:26 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-01-12 15:19:26 +0000
commitf9868c31c5c914591ff87b62a8547388d145a1ed (patch)
tree90c3d34e50bb8ba0099006589b530328707fe862
parent5aef0e9b330d4c92df0fa4e8a50fb9d183501d41 (diff)
modutils uses the new oe_machinstall now
BKrev: 4002bafeObYCsye--tOGdB9_Wb2IPg
-rw-r--r--modutils/modutils_2.4.25.oe12
1 files changed, 2 insertions, 10 deletions
diff --git a/modutils/modutils_2.4.25.oe b/modutils/modutils_2.4.25.oe
index 44fe488c87..397de5e15b 100644
--- a/modutils/modutils_2.4.25.oe
+++ b/modutils/modutils_2.4.25.oe
@@ -15,14 +15,6 @@ do_install_prepend () {
do_install () {
install -d ${D}/${sysconfdir}
- if [ -e ${FILESDIR}/modules_${MACHINE} ]; then
- install -m 0644 ${FILESDIR}/modules_${MACHINE} ${D}/${sysconfdir}/modules
- else
- touch ${D}/${sysconfdir}/modules
- fi
- if [ -e ${FILESDIR}/modules.conf_${MACHINE} ]; then
- install -m 0644 ${FILESDIR}/modules.conf_${MACHINE} ${D}/${sysconfdir}/modules.conf
- else
- touch ${D}/${sysconfdir}/modules.conf
- fi
+ oe_machinstall -m 0644 ${FILESDIR}/modules ${D}/${sysconfdir}/modules
+ oe_machinstall -m 0644 ${FILESDIR}/modules.conf ${D}/${sysconfdir}/modules.conf
}