diff --git a/build/lib/scripts/embassy-initramfs-module b/build/lib/scripts/embassy-initramfs-module index 65079a2b8..965f1aef2 100755 --- a/build/lib/scripts/embassy-initramfs-module +++ b/build/lib/scripts/embassy-initramfs-module @@ -31,6 +31,8 @@ local_mount_root() modprobe ${FSTYPE} checkfs ${ROOT} root "${FSTYPE}" + ROOTFLAGS="$(echo "${ROOTFLAGS}" | sed 's/subvol=\(next\|current\)//')" + if [ "${FSTYPE}" != "unknown" ]; then mount -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt} else