base-files: fix ramoverlay function with kernels 3.18+
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)
commitb1674dfc2f6ba6a4ce59edabd9164b3b084af8af
tree48a5e02cb5e644b683aba2b125367a8bf74a1707
parente2f83c0eea75d670bba9dcb1d7f0f413a54779c4
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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47016 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions/preinit.sh