gpt-auto-generator: enable auto-discovery logic also for verity root file systems
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 15:04:07 +0000 (16:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Dec 2016 18:09:31 +0000 (19:09 +0100)
commit78f0243a445882211058f995ee99ea9ae088b802
tree8d5092168c1928a19777ff93b36d2e94b6a4d9bb
parent5f4bfe56f3a413584d9ee203b3c5a8ea8ca803d2
gpt-auto-generator: enable auto-discovery logic also for verity root file systems

verity block devices have two backing devices: the data partition and
the hash partition. Previously the gpt auto-discovery logic would refuse
working on devices with multiple backing devices, losen this up a bit,
to permit them as long as the backing devices are all located on the
same physical media.
src/gpt-auto-generator/gpt-auto-generator.c