base-files: fix ramoverlay function with kernels 3.18+
authorFelix Fietkau <nbd@openwrt.org>
Mon, 21 Sep 2015 17:41:07 +0000 (17:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 21 Sep 2015 17:41:07 +0000 (17:41 +0000)
commitccdac8f23058a7c2a58a79934d61ae2cfe648360
tree913e235cf3e9ad8fbae78950384c0cbaddf76107
parent9a07ef319a5866934abfb1c41a3d29d25d030bd0
base-files: fix ramoverlay function with kernels 3.18+

Even though there are not many users left within the OpenWrt tree it seems
this function broke during the kernel 3.18 transition.

Fix it by providing a workdir as required by overlayfs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 47015
package/base-files/files/lib/functions/preinit.sh