systemd 261 can now natively detect and mount subpartitions. Fixes #4544 This also works around an issue where udiskie will prompt for mounting the /usr partitions on disk, when they are subpartitions. I didn't file a bug upstream because it's really not clear to me what to blame (udisks2? udiskie? udev?) Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8660>
12 lines
589 B
Plaintext
12 lines
589 B
Plaintext
# FIXME: udisks2 (or udiskie) insist on trying to unlock verity hash partitions,
|
|
# probably because ID_FS_USAGE="crypto" or something. This just tells udisks to
|
|
# ignore the verity hash device...
|
|
|
|
SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="DM_verity_hash", ENV{ID_FS_USAGE}=="crypto", ENV{UDISKS_IGNORE}="1"
|
|
|
|
# FIXME: udiskie tries to automount loop device partitions for the /usr
|
|
# partition # (A and B slots), possibly due to udiskie commit 0e0ecb7 or something
|
|
# related to that..
|
|
|
|
SUBSYSTEM=="block", ENV{ID_BLOCK_SUBSYSTEM}=="loop", ENV{PARTNAME}=="duranium_*_usr", ENV{UDISKS_IGNORE}="1"
|