]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dissect-image.c
dissect: Don't count RPMB and boot partitions (#8609)
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Tue, 3 Apr 2018 12:51:18 +0000 (05:51 -0700)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Apr 2018 12:51:18 +0000 (14:51 +0200)
commitcde942f61bf231ea4a0d50780cdb4e744458daeb
tree8e2bbc8e20c728143b624dce7ce9f7eb30281868
parentbd6ae7e6f05964200cd51e7942a3fb5a2b6994e7
dissect: Don't count RPMB and boot partitions (#8609)

Filter-out RPMB partitions and boot partitions from MMC devices when
counting partitions enumerated by the kernel. Also factor out the now
duplicated code into a separate function.

This complement the previous fixes to the problem reported in
https://github.com/systemd/systemd/issues/5806
src/shared/dissect-image.c