dissect-image: avoid scanning partitions
authorTopi Miettinen <toiwoton@gmail.com>
Mon, 9 Mar 2020 12:01:06 +0000 (14:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 18 Mar 2020 19:23:47 +0000 (20:23 +0100)
commit98f8a718c161d45b0001ee68f2ec7d111da79397
treedc42457d789d1b00037a534f93628f8871c00f9b
parent35c4d42040ec4539cbb2fd2391dea21abcf51a35
dissect-image: avoid scanning partitions

In case the dissected image has a filesystem, don't scan for partitions. This
avoids problems with services using a `RootImage=` in early boot when udevd is
not yet started.

(cherry picked from commit 0108c42f59dd5848f6b561f260dc6ff3e19d651b)
src/shared/dissect-image.c