From de8a8dadae75e0288a9756460a30191e4aea9412 Mon Sep 17 00:00:00 2001 From: XECDesign Date: Fri, 17 Jan 2020 12:26:12 +0000 Subject: [PATCH] OverlayFS - try loading module from rootfs (#105) Fixes #102 --- debian/changelog | 1 + raspi-config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7f242d4..b6192ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 09 Jan 2020 14:38:50 +0000 diff --git a/raspi-config b/raspi-config index acc6cfb..1b90b5c 100755 --- a/raspi-config +++ b/raspi-config @@ -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