summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox.inc
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-02-13 12:45:32 -0500
committerTom Rini <trini@embeddedalley.com>2009-02-13 12:45:32 -0500
commit264f51739dbf11f310de2d6f01cf563bb08dd50c (patch)
treeb1fa3af84d04daf8ef718680d17143e633ef3e18 /packages/busybox/busybox.inc
parentfec216f25e71c0f2c82670f633b0f161d01cec0d (diff)
busybox: Add a 'mountall' file and install for CONFIG_FEATURE_MOUNT_FSTAB=y
For all versions of busybox that have the above enabled, bump PR and include the generic mountall (taken from sysvinit). In the inc file, if enabled make ${D}/etc/defaults/ and put this in there.
Diffstat (limited to 'packages/busybox/busybox.inc')
-rw-r--r--packages/busybox/busybox.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/busybox/busybox.inc b/packages/busybox/busybox.inc
index 4b195d5584..cb8eb53216 100644
--- a/packages/busybox/busybox.inc
+++ b/packages/busybox/busybox.inc
@@ -129,6 +129,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
+ if grep "CONFIG_FEATURE_MOUNT_FSTAB=y" ${WORKDIR}/defconfig; then
+ install -d ${D}${sysconfdir}/default
+ install -m 644 ${WORKDIR}/mountall ${D}${sysconfdir}/default/
+ fi
install -m 0644 ${S}/busybox.links ${D}${sysconfdir}
}