Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
motorola
:
moto_msm8960_jbbl
:
4.4.0.68
>
udisks2
> _service:tar_git:0007-Make-it-possible-to-encrypt-mmcblk-format-with-encry.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:0007-Make-it-possible-to-encrypt-mmcblk-format-with-encry.patch of Package udisks2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Raine Makelainen <raine.makelainen@jolla.com> Date: Tue, 18 Sep 2018 17:04:36 +0300 Subject: [PATCH] Make it possible to encrypt mmcblk* (format with encryption) Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com> --- src/udiskslinuxblock.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/udiskslinuxblock.c b/src/udiskslinuxblock.c index a59793bf..61f904c4 100644 --- a/src/udiskslinuxblock.c +++ b/src/udiskslinuxblock.c @@ -2316,8 +2316,13 @@ wait_for_luks_uuid (UDisksDaemon *daemon, if (block == NULL) goto out; + // Currently /dev/mmcblk devices won't get assigned with ID_FS_TYPE=crypto_LUKS when formatting encryption + // enabled whereas with /dev/sda devices crypto_LUKS will appear. Wait condition used only when formatting encryption + // enabled. +#if 0 if (g_strcmp0 (udisks_block_get_id_type (block), "crypto_LUKS") != 0) goto out; +#endif ret = g_object_ref (data->object); -- 2.33.1