OverlayFS - try loading module from rootfs (#105)

Fixes #102
This commit is contained in:
XECDesign
2020-01-17 12:26:12 +00:00
committed by GitHub
parent 84a6c79380
commit de8a8dadae
2 changed files with 2 additions and 1 deletions

View File

@@ -1921,7 +1921,7 @@ local_mount_root()
mount -r ${ROOTFLAGS} ${ROOT} /lower
fi
modprobe overlay
modprobe overlay || insmod "/lower/lib/modules/$(uname -r)/kernel/fs/overlayfs/overlay.ko"
# Mount a tmpfs for the overlay in /upper
mount -t tmpfs tmpfs /upper