Commit 4b24a4ee authored by Julian Rother's avatar Julian Rother
Browse files

patches: Finally fix overlayfs patch

parent c3e9db7e
......@@ -54,7 +54,7 @@
+ mkdir -p "${overlay_mount_dir}"
+ mount -t ${UNIONFS} -o "lowerdir=${mounts}" root "${overlay_mount_dir}"
+ # Stacking multiple overlays leads to "No such device" errors upon access
+ mount -t ${UNIONFS} -o "lowerdir=${mounts}",upperdir=/cow/upper,workdir=/cow/work" cowroot "${rootmnt}"
+ mount -t ${UNIONFS} -o "lowerdir=${mounts},upperdir=/cow/upper,workdir=/cow/work" cowroot "${rootmnt}"
+ lower="${overlay_mount_dir}"
;;
esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment