base-files: fix ramoverlay function with kernels 3.18+
authorFelix Fietkau <[email protected]>
Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)
committerFelix Fietkau <[email protected]>
Mon, 21 Sep 2015 17:43:12 +0000 (17:43 +0000)
commit3d02acd720ef290904ff31786a2ff3b0a8916e5b
tree2dda6f8b16f4405d607bd0825e59eead83899965
parentf4813f2cd24c2c5b1c524b88ab26d04c754be30f
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 <[email protected]>
Backport of r47015

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