base-files: fix ramoverlay function with kernels 3.18+
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Sep 2015 17:41:07 +0000 (17:41 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Sep 2015 17:41:07 +0000 (17:41 +0000)
commit2b355c9e60311b2a19e16859122de188a810b1ca
tree913e235cf3e9ad8fbae78950384c0cbaddf76107
parentc5e8fa55956507ef4fd1301f6c09d59cc286ee27
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47015 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/functions/preinit.sh