]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: always invalidate secondary arch partitions if we found primary arch
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Sep 2020 15:32:34 +0000 (17:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Sep 2020 16:02:37 +0000 (18:02 +0200)
commit74cb2db9f403dfe17cabc6dac48b0f49a84eb03f
tree8192dd8f82a295a58f65b413c8a66509c4967549
parent220431724b9c5582db7c4f21e95b4bd712e3627a
dissect: always invalidate secondary arch partitions if we found primary arch

Let's suppress the secondary arch data, since we never ever want to
mount it if we found the primary arch.

Previously we only suppressed in the Verity case, but there's little
reason to entertain the idea of a secondary arch in non-Verity
environments either, we are not going to use them, and should not do
decryption or anything like that.
src/shared/dissect-image.c