]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: if dissecting without udev, don't look for usec timestamp on db record
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Jun 2021 15:17:37 +0000 (17:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Jun 2021 20:52:16 +0000 (22:52 +0200)
commit3fe398cec036ac810344b5b13b07cddcca1acd49
treebbc4dfdf810a26f347810e7dd132b890b3586d5d
parent71889176e4372b443018584c3520c1ff3efe2711
dissect: if dissecting without udev, don't look for usec timestamp on db record

There will likely be none, hence don't bother.

This fixes an issue in systemd-gpt-auto-generator where we'll try to
wait for the udev db for the partitions even though though udev might
simplynot be around and via the DISSECT_IMAGE_NO_UDEV flag were
explicitly told not to bother.

Fixes: #19377
src/shared/dissect-image.c