mirror of
https://github.com/systemd/systemd.git
synced 2026-08-13 17:08:14 +00:00
growfs: downgrade dependency on libcryptsetup to optional
growfs actually gracefully skips when cryptsetup fails or is missing already, and it is only necessary when the device is a LUKS device anyway. Downgrade from required ro recommended. Follow-up forb0ede9f9ee(cherry picked from commit6e39099a4a)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
573d3562d4
commit
8104f94b51
@@ -33,7 +33,7 @@ static int resize_crypt_luks_device(dev_t devno, const char *fstype, dev_t main_
|
||||
uint64_t size;
|
||||
int r;
|
||||
|
||||
r = DLOPEN_CRYPTSETUP(LOG_ERR, SD_ELF_NOTE_DLOPEN_PRIORITY_REQUIRED);
|
||||
r = DLOPEN_CRYPTSETUP(LOG_WARNING, SD_ELF_NOTE_DLOPEN_PRIORITY_RECOMMENDED);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user