initscripts: fix read-only-rootfs-hook.sh to avoid using unionfs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 10 Apr 2013 13:23:37 +0000 (13:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Apr 2013 15:49:24 +0000 (16:49 +0100)
commitd82fa1c5be811a69c548d455b9a72cc201b61b33
tree2490b9565d082c3567ab1f59b632ab18ee035b7f
parenta666c13b2c297f19ab110e7bf7e395af036fe90c
initscripts: fix read-only-rootfs-hook.sh to avoid using unionfs

Unionfs isn't available everywhere, and we can get similar results (if
not quite as neatly) by using bind mounts + tmpfs and copying the data
over.

(From OE-Core rev: 5a8ba93efa554c3b4d3b48ca8d668419a8c77f42)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initscripts/initscripts-1.0/read-only-rootfs-hook.sh