base-files: fix ramoverlay function with kernels 3.18+
authorFelix Fietkau <nbd@openwrt.org>
Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)
commit79bc24adfb46117310f70267cc01028e1a3dc9fb
tree48a5e02cb5e644b683aba2b125367a8bf74a1707
parent4b1b663af62fa10898a55413b0c62dfa95e26b95
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>
Backport of r47015

SVN-Revision: 47016
package/base-files/files/lib/functions/preinit.sh