Skip to content

Commit

Permalink
fix for encrypted filesystems which became unusable in normal boots
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanatermesis committed Aug 3, 2023
1 parent b1f9fe1 commit a512c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/share/initramfs-tools/scripts/init-top/bilibop-lockfs
Expand Up @@ -45,7 +45,8 @@ done
. /scripts/functions
. /usr/lib/bilibop/lockfs.sh

BILIBOP_LOCKFS="true"
# note: do not enable lockfs by default unless the user requests it on the boot mode, also there's a bug that unless "nolockfs" is added on the boot parameters, an OS that has its root partition in encrypted luks mode will become unusable
BILIBOP_LOCKFS="false"
BILIBOP_LOCKFS_POLICY="hard"

# Check if BILIBOP_LOCKFS or BILIBOP_LOCKFS_POLICY are overridden from the
Expand Down
3 changes: 3 additions & 0 deletions usr/share/initramfs-tools/scripts/local-bottom/bilibop-lockfs
Expand Up @@ -36,6 +36,9 @@ do
esac
done

# do not enable lockfs by default unless the user requests it on the boot mode, also there's a bug that unless "nolockfs" is added on the boot parameters, an OS that has its root partition in encrypted luks mode will become unusable
BILIBOP_LOCKFS="false"

# Load functions:
. /scripts/functions
. /usr/lib/bilibop/lockfs.sh
Expand Down

0 comments on commit a512c91

Please sign in to comment.