mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
dissect: rescan devices before creating partition list (#9930)
Fixes #9924 which is caused by 3c1f2cee0a
.
This commit is contained in:
parent
49679ff70f
commit
7ecc4799a9
@ -350,6 +350,10 @@ int dissect_image(
|
||||
e = sd_device_enumerator_unref(e);
|
||||
}
|
||||
|
||||
r = device_enumerator_scan_devices(e);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
FOREACH_DEVICE_AND_SUBSYSTEM(e, q) {
|
||||
unsigned long long pflags;
|
||||
blkid_partition pp;
|
||||
|
Loading…
Reference in New Issue
Block a user