summaryrefslogtreecommitdiff
path: root/packages/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'packages/busybox')
-rw-r--r--packages/busybox/busybox_1.00.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/busybox/busybox_1.00.bb b/packages/busybox/busybox_1.00.bb
index fe136407b7..89b3206cb9 100644
--- a/packages/busybox/busybox_1.00.bb
+++ b/packages/busybox/busybox_1.00.bb
@@ -57,7 +57,7 @@ do_compile () {
}
do_install () {
- install -d ${D}/etc/init.d
+ install -d ${D}/${sysconfdir}/init.d
oe_runmake 'PREFIX=${D}' install
install -m 0755 ${WORKDIR}/syslog ${D}/${sysconfdir}/init.d/
install -m 644 ${WORKDIR}/syslog.conf ${D}/${sysconfdir}/
@@ -79,10 +79,10 @@ do_install () {
install -m 0755 ${S}/examples/udhcp/simple.script ${D}/${sysconfdir}/udhcpc.d/50default
install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script
fi
- rm ${D}/bin/mount
- install -m 0755 ${WORKDIR}/mount.busybox ${D}/bin/
- rm ${D}/bin/umount
- install -m 0755 ${WORKDIR}/umount.busybox ${D}/bin/
+ rm ${D}/${base_bindir}/mount
+ install -m 0755 ${WORKDIR}/mount.busybox ${D}/${base_bindir}/
+ rm ${D}/${base_bindir}/umount
+ install -m 0755 ${WORKDIR}/umount.busybox ${D}/${base_bindir}/
}
pkg_postinst () {