From e2e100f35c7f7b189302bc07d61f5d6f42f7751c Mon Sep 17 00:00:00 2001 From: slowpeek Date: Fri, 17 Jan 2025 01:44:09 +0200 Subject: [PATCH] manage_overlayfs: Keep the default value of overlayroot_cfgdisk "enabled" is not a valid value for the option. Aside for "disabled", here are examples from /etc/overlayroot.conf: overlayroot_cfgdisk="LABEL=OROOTCFG" overlayroot_cfgdisk="/dev/vdb" --- tools/modules/system/manage_overlayfs.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/modules/system/manage_overlayfs.sh b/tools/modules/system/manage_overlayfs.sh index 5a735b4d4..cc8037f7d 100644 --- a/tools/modules/system/manage_overlayfs.sh +++ b/tools/modules/system/manage_overlayfs.sh @@ -15,7 +15,6 @@ function manage_overlayfs() { pkg_install -o Dpkg::Options::="--force-confold" overlayroot cryptsetup cryptsetup-bin [[ ! -f /etc/overlayroot.conf ]] && cp /etc/overlayroot.conf.dpkg-new /etc/overlayroot.conf sed -i "s/^overlayroot=.*/overlayroot=\"tmpfs\"/" /etc/overlayroot.conf - sed -i "s/^overlayroot_cfgdisk=.*/overlayroot_cfgdisk=\"enabled\"/" /etc/overlayroot.conf else overlayroot-chroot rm /etc/overlayroot.conf > /dev/null 2>&1 pkg_remove overlayroot cryptsetup cryptsetup-bin