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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -5,6 +5,7 @@ raspi-config (20200109) UNRELEASED; urgency=medium
* Fix VNC options
* Install required packages when changing GL settings
* Add warning when enabling SSH
* OverlayFS - try loading module from rootfs
-- Serge Schneider <serge@raspberrypi.org> Thu, 09 Jan 2020 14:38:50 +0000

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