genimage/test/hdimage-fail2.config
Michael Olbrich 1d72d8091f image-hd: stricter option handling
There have been situations where the hybrid mode was accidentally used
because a config contained a bogus partition-type entry.

So lets make this explicit: There is now a new 'partition-table-type'
option where the hybrid mode must be selected explicitly.
The relevant options for mbr and gpt are only acceptable if the
corresponding type (or hybrid) is selected.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2021-04-25 17:15:38 +02:00

10 lines
155 B
Plaintext

image test.hdimage {
hdimage {
partition-table-type = "gpt"
}
partition part1 {
/* partition-type not valid for gpt */
partition-type = 0x83
}
}