Skip to content
Snippets Groups Projects
Commit 4b24a4ee authored by Julian Rother's avatar Julian Rother
Browse files

patches: Finally fix overlayfs patch

parent c3e9db7e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment