diff --git a/scripts/install_client.sh b/scripts/install_client.sh index 2be595d93..f91b40220 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -60,7 +60,6 @@ cp -r system /tmp cd /tmp/system sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules -# Fourth local partition PART=$(lsblk -pro kname,partlabel | grep 01-tmp-system | cut -d' ' -f1) sed -i -e "s|::PART::|$PART|g" usr/share/initramfs-tools/scripts/init-premount/reformat diff --git a/scripts/system/etc/gdm3/PostLogin/Default b/scripts/system/etc/gdm3/PostLogin/Default index 0f6051594..18b0bb909 100755 --- a/scripts/system/etc/gdm3/PostLogin/Default +++ b/scripts/system/etc/gdm3/PostLogin/Default @@ -28,7 +28,7 @@ set -x sleep 0.5 -# Find the first removable F2FS partition +# Find the removable F2FS partition PART=$(lsblk -pro kname,partlabel | grep 01-home) # Make sure the mountpoints are free @@ -42,7 +42,7 @@ if test "$PART" then mount -o noatime "$PART" /mnt else - # No removable F2FS partition found, use the third local partition instead + # No removable F2FS partition found PART=$(lsblk -pro kname,partlabel | grep 01-tmp-home) if test -z "$PART"