REGRESSION: encrypted btrfs root filesystem fails -- but worked before (for sure at commit 84883ef) #67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This simple
installimage.cfgworked perfectly at commit84883efBut it now fails because of a wrongly constructed device mapper paths and the wrong attempt to encrypt all partitions.
The latter relates this issue to the since long reported issue of https://github.com/hetzneronline/installimage/issues/51#issue-1277233912
The relevant output of
debug.txtreads:Please fix this show stopper soon.
The logical misconception occurs in hunk
@@ -2480,7 +2464,7 @@ encrypt_partitions()of commit08cc8822c996726f86973497d38cc4c058d50b42n the filefunctions.sh:Reverting the single line:
if [ -n "$(echo "$line" | grep "crypted" | grep -P "LVM|btrfs|no")" ]; thento
if [ -n "$(echo "$line" | grep "crypted" | grep "LVM")" ]; thendoes away with the particular issue reported above.
Yet, it doesn't fix the intended overall logic.