overlay-generator: pass index=off and metacopy=off.

Ensure these features of overlayfs are disabled to avoid errors when rotating the rootfs.
This commit is contained in:
Xogium 2022-01-23 18:47:12 +01:00
parent 053bd81949
commit ffab8a94c3

View file

@ -77,5 +77,5 @@ fsck_root="systemd-fsck@$(systemd-escape -p "${overlay_root}").service"
echo "Where=/sysroot"
echo "What=overlay"
echo "Type=overlay"
echo "Options=lowerdir=/run/overlay/lower,upperdir=/run/overlay/upper,workdir=/run/overlay/work"
echo "Options=lowerdir=/run/overlay/lower,upperdir=/run/overlay/upper,workdir=/run/overlay/work,index=off,metacopy=off"
} > "$GENERATOR_DIR"/sysroot.mount