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

patches: Actually fix the overlayfs patch

parent 64edd185
Branches
Tags
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=${overlay_mount_dir},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