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)
commit28a46862207c0a0178a0a1ecf8fea35b827a3ae0
tree48a5e02cb5e644b683aba2b125367a8bf74a1707
parent07aa5a1b70c652210f12edc62875c88d389e1f47
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